Initial commit
This commit is contained in:
20
keymap.vim
Normal file
20
keymap.vim
Normal file
@@ -0,0 +1,20 @@
|
||||
" Custom keymappings
|
||||
|
||||
" Toggle through open buffers via F8
|
||||
noremap <F8> :bnext <CR>
|
||||
noremap <S-F8> :bprevious <CR>
|
||||
|
||||
" Define a shortcut to turn on NERDTree
|
||||
map <C-n> :NERDTreeToggle <CR>
|
||||
|
||||
" Copy to clipboard with Ctrl+C when in visual mode
|
||||
vnoremap <C-c> "+y
|
||||
|
||||
" Copy to clipboard with Ctrl+C when in normal mode
|
||||
noremap <C-c> "+y
|
||||
|
||||
" Paste from clipboard with Ctrl+V when in insert or command mode
|
||||
map! <C-v> <C-o>"+p
|
||||
|
||||
" Open the terminal in a separate window
|
||||
noremap <A-t> :belowright split term://zsh<CR>
|
||||
Reference in New Issue
Block a user