diff options
| author | mitsuo <[email protected]> | 2021-10-19 23:21:36 -0500 |
|---|---|---|
| committer | mitsuo <[email protected]> | 2021-10-19 23:25:03 -0500 |
| commit | 9c03aadf1f5d6f1e51cdcafde007acbadb507f74 (patch) | |
| tree | 9ec363cb0eb779a90f8be26eaf6d1f4bb7a2604c /vimrc | |
| parent | 0be5fb0d3d276a0e148dde68d79eaa08e10d82ff (diff) | |
| download | dotfiles-9c03aadf1f5d6f1e51cdcafde007acbadb507f74.tar.gz dotfiles-9c03aadf1f5d6f1e51cdcafde007acbadb507f74.tar.bz2 dotfiles-9c03aadf1f5d6f1e51cdcafde007acbadb507f74.zip | |
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
Diffstat (limited to 'vimrc')
| -rw-r--r-- | vimrc | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -143,9 +143,13 @@ map <F5> :source ~/.vim/vimrc<CR> map <S-F5> :e ~/.vim/vimrc<CR> map <F7> :tabp<CR> map <F8> :tabn<CR> -map <F9> :w<CR>:!./make.sh<CR> +map <F9> :w<CR>:make<CR> +"map <F10> :!./%:r<CR> +map <F10> :!./a.out<CR> +map <F11> :cnext<CR> +map <S-F11> :cprev<CR> " One has to do :E first in order for this to work -map <F12> :Rex<CR> +"map <F12> :Rex<CR> " <Leader> = '\' when 'mapleader' is empty " Change to the directory of the current file and generate tags recursively " there. @@ -164,6 +168,10 @@ nmap <M-J> <C-W>j nmap <M-K> <C-W>k nmap <M-L> <C-W>l +" Go Title Case (and clear highlighted matches) +" Ref.: vim.fandom.com +vmap gt :s/\<\(\w\)\(\w*\)\>/\u\1\L\2/g<CR><C-L> + " Yanking and pasting " ---------------------------------------------------------------------- |
