From 14c47c69d7901ad52ac55756760d10646bf6c2c5 Mon Sep 17 00:00:00 2001 From: Andrew Conlin <andrew@andrewconl.in> Date: Fri, 15 Dec 2023 09:53:48 +0000 Subject: [PATCH] [15/12/23] Adding keymaps and clipboard --- .vimrc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.vimrc b/.vimrc index 0bcf3e5..1870416 100644 --- a/.vimrc +++ b/.vimrc @@ -39,6 +39,16 @@ set noshowmode " airline fonts let g:airline_powerline_fonts = 0 +" have j and k navigate visual lines rather than logical ones +nmap j gj +nmap k gk + +" use H and L for beginning/end of line +nmap H ^ +nmap L $ + +" yank to system clipboard +set clipboard=unnamed " vim-gitgutter set updatetime=100