Félix Albertos Marco

Vim

Home/resources/util>

Vim

[resources] [util] [vim]

Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. The way that you interact with it make it more than just a text editor (or not), a way of interacting with your entire computer.

Using it, your understanding of how to interact with a computer may change. And not only for editing text, but in how you manage your entire system, from the window manager, till your general workflow.

Tools

You can find a comprehensive list of applications using Vim keybindings in the The Keybindings Everywhere - The Ultimate List.

Tools where I currently use Vim keybindings

Tools I’ve used but I stop using or rarely use

Configuration

Some configuration tips …

Enable (java) autocompletion

Add the pluggin to your .vimrc file:

call plug#begin(globalVimfiles.'/plugged')
Plug 'neoclide/coc.nvim', {'branch': 'release'}
call plug#end()

Install the plugin:

:PlugInstall

Install java extension:

:CocInstall coc-java

Use coc-explorer

From the developer github:

  1. Install by coc.nvim command
:CocInstall coc-explorer
  1. Configuration custom vim mapping
:nmap <space>e <Cmd>CocCommand explorer<CR>
  1. Open explorer
<space>e
  1. Press ? to show mappings help

I have changed default keymapping in vim to not lose functionality, so I changed Manage extensions to use ‘E’ instead of ‘e’:

" Manage extensions
nnoremap <silent><nowait> <space>E  :<C-u>CocList extensions<cr>
" Open coc-explore
nmap <space>e <Cmd>CocCommand explorer<CR>