summaryrefslogtreecommitdiffstats
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 42fcc69..b891c31 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -159,12 +159,18 @@ map <S-F11> :cprev<CR>
" <Leader> = '\' when 'mapleader' is empty
" Change to the directory of the current file and generate tags recursively
" there.
+
+""" Usage of utilities
+"" ctags
" TODO: make the change of directory whenever a .c .cpp .h file is opened
map <Leader>rt :cd %:h<CR>:!ctags -R .<CR>
map <C-\> :tnext<CR>
" Motion to go to beggining of function while cursor is inside
nmap [f [m[{k0
+" pandoc
+nnoremap gm :w<CR>:Md2Html<CR><CR><CR>
+
" Funcionallity of the following depends on terminal (8bit input enabled needed
" for <Meta> = Alt key combos
" From: https://vim.fandom.com/wiki/Get_Alt_key_to_work_in_terminal