Skip to content

Commit

Permalink
swap ; and : so that shift isn't needed for ex commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Coleman committed Feb 19, 2015
1 parent 06552e5 commit 959bf5b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vimrc.key_mappings
Expand Up @@ -3,6 +3,10 @@ noremap h k
noremap j h
noremap k j

" no need for the shift key!
nnoremap ; :
nnoremap : ;

cnoremap %% <C-R>=expand('%:h').'/'<cr>
map <leader>e :edit %%
map <leader>v :view %%
Expand Down

0 comments on commit 959bf5b

Please sign in to comment.