mirror of
https://github.com/amix/vimrc
synced 2025-07-15 16:14:59 +08:00
add some helpful key bindings
This commit is contained in:
@ -2,3 +2,19 @@ imap jk <esc>
|
||||
nmap ; :
|
||||
|
||||
nmap <leader>% :source %<cr>
|
||||
map <F7> mzgg=G`z
|
||||
map <leader>h :split
|
||||
map <leader>v :vsplit
|
||||
|
||||
map g<F1> :GoDoc
|
||||
map <F2> :GoBuild
|
||||
map <F3> :GoTest
|
||||
"set shell=zsh\ -i
|
||||
map <F4> :shell<CR>
|
||||
map <F5> :source %<CR>
|
||||
|
||||
map <leader>/ :set hlsearch!<CR>
|
||||
|
||||
try
|
||||
colorscheme delek
|
||||
endtry
|
||||
|
Reference in New Issue
Block a user