IDE for Java, Groovy and other programming languages with advanced refactoring features
With therelativenumber
option, each line in your file is numbered relative to
the cursor’s current position to show the distance to that line.
set number relativenumber
Map leader to space
let mapleader=" "
Mappings:
map <leader>c <Action>(CommentByLineComment)
map <leader>e <Action>(ExtractMethod)
map <leader>f <Action>(FindInPath)
map <leader>g <Action>(Generate)
map <leader>i <Action>(InsertLiveTemplate)
map <leader>o <Action>(FileStructurePopup)
map <leader>r <Action>(RenameElement)
map <leader>s <Action>(SurroundWith)
map <leader>u <Action>(FindUsages)
map <leader>w <Action>(ActivateProjectToolWindow)
System clipboard support:
set clipboard+=unnamed
nnoremap p "+p
vnoremap p "+p
nnoremap P "+P
vnoremap P "+P
Set plugins:
set NERDTree
set highlightedyank