diff --git a/vim/spell/en.utf-8.add b/vim/spell/en.utf-8.add index b9b1aca..cd129ab 100644 --- a/vim/spell/en.utf-8.add +++ b/vim/spell/en.utf-8.add @@ -164,3 +164,14 @@ cafe bday haha Respawn +refactored +ratholing +Raylib +Trello +Sobeys +podcast +Paralympics +rathole +aioli +Palmasola +Delysees diff --git a/vim/spell/en.utf-8.add.spl b/vim/spell/en.utf-8.add.spl index 92644a4..90726af 100644 Binary files a/vim/spell/en.utf-8.add.spl and b/vim/spell/en.utf-8.add.spl differ diff --git a/vimrc b/vimrc index 8c0d2eb..99f1e19 100644 --- a/vimrc +++ b/vimrc @@ -355,6 +355,9 @@ nmap z nmap ev :vsp $MYVIMRC nmap rv :so $MYVIMRC +" Easy way to open a file in the directory of the current file +:cmap %/ %:p:h/ + " remap saving and quiting nmap w :w nmap q :q @@ -432,7 +435,8 @@ vnoremap p "_dP nnoremap pp :silent !open -a Marked.app '%:p' " Switch between C++ source and header files -map v :e %:p:s,.h$,.X123X,:s,.cpp$,.h,:s,.X123X$,.cpp, +map v :e %:p:s,.h$,.X123X,:s,.c$,.h,:s,.X123X$,.c, +map vv :e %:p:s,.h$,.X123X,:s,.cpp$,.h,:s,.X123X$,.cpp, "//////////////////////////////////////////////////////////////// " QUICKLY OPEN C++ SOURCE OR HEADER FILE