dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit ada43fc1258b02f3bd2ce637744d15d26b2dcd21
parent 6fc7e63aa02f133899edf06af5d37da3c9dcb3ee
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Mon, 22 Feb 2016 12:30:59 -0800

toggle checklist state with SPACE-X

Diffstat:
M.vimrc | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/.vimrc b/.vimrc @@ -382,6 +382,10 @@ nmap <leader>j <C-w>j nmap <leader>k <C-w>k nmap <leader>l <C-w>l +" toggle x mark in checklist fields +nmap <leader>X :s/\[[x ]\]/\=submatch(0) == '[x]' ? '[ ]': '[x]'/<CR> + +" neovim-specific mappings if has('nvim') " escape from terminal mode tnoremap <leader>e <C-\><C-n>