vim: keymap to switch from terminal mode to normal mode
This commit is contained in:
parent
c728f7b085
commit
ce81d3553a
1 changed files with 3 additions and 0 deletions
|
@ -63,6 +63,9 @@ map('n', '<leader>bg', [[<cmd>let &background = &background ==? 'light' ? 'dark'
|
||||||
-- disable highlight until next search
|
-- disable highlight until next search
|
||||||
map('n', '<leader>h', '<cmd>nohlsearch<cr>')
|
map('n', '<leader>h', '<cmd>nohlsearch<cr>')
|
||||||
|
|
||||||
|
-- more convenient way of entering normal mode from terminal mode
|
||||||
|
map('t', [[<c-\><c-\>]], [[<c-\><c-n>]])
|
||||||
|
|
||||||
-- edit configuration files
|
-- edit configuration files
|
||||||
map('n', '<leader>eg', '<cmd>tabedit ~/.config/git/config<cr>')
|
map('n', '<leader>eg', '<cmd>tabedit ~/.config/git/config<cr>')
|
||||||
map('n', '<leader>et', '<cmd>tabedit ~/.config/tmux/tmux.conf<cr>')
|
map('n', '<leader>et', '<cmd>tabedit ~/.config/tmux/tmux.conf<cr>')
|
||||||
|
|
Loading…
Add table
Reference in a new issue