Skip to content

Commit

Permalink
Add some vim macro shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
jefflund committed Jun 18, 2024
1 parent 4c0e3e6 commit eb3826a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions files/vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@ nnoremap <silent> <leader>q :q<cr>
nnoremap <silent> <leader>w :w<cr>
nnoremap <silent> <leader>W :wa<cr>
" Some macro shortcuts
nnoremap <silent> <leader>~ :set paste<cr>qa
nnoremap <silent> <esc><esc> q
nnoremap <silent> <leader>` @a
" Save some keystrokes
vnoremap < <gv
vnoremap > >gv
Expand Down

0 comments on commit eb3826a

Please sign in to comment.