From 9c03aadf1f5d6f1e51cdcafde007acbadb507f74 Mon Sep 17 00:00:00 2001 From: mitsuo Date: Tue, 19 Oct 2021 23:21:36 -0500 Subject: Add gt (Go TitleCase) mapping in Vim - bashrc: Remove Conda shit (messed with my printer and scanner! (hplip(1)) - bash_aliases: - Add some Env. Var. like LINDO - Add mpv_nhk - Add youtube-dl_fast - Add "path shorcut" to java8 --- vimrc | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 3fbd118..08a8eee 100644 --- a/vimrc +++ b/vimrc @@ -143,9 +143,13 @@ map :source ~/.vim/vimrc map :e ~/.vim/vimrc map :tabp map :tabn -map :w:!./make.sh +map :w:make +"map :!./%:r +map :!./a.out +map :cnext +map :cprev " One has to do :E first in order for this to work -map :Rex +"map :Rex " = '\' when 'mapleader' is empty " Change to the directory of the current file and generate tags recursively " there. @@ -164,6 +168,10 @@ nmap j nmap k nmap l +" Go Title Case (and clear highlighted matches) +" Ref.: vim.fandom.com +vmap gt :s/\<\(\w\)\(\w*\)\>/\u\1\L\2/g + " Yanking and pasting " ---------------------------------------------------------------------- -- cgit v1.2.3