From 03bbb615f265c08f108fbd6e824686ab05f7bcd3 Mon Sep 17 00:00:00 2001 From: A Farzat Date: Tue, 1 Oct 2024 20:04:11 +0900 Subject: Add the core files --- global-mappings.vim | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 global-mappings.vim (limited to 'global-mappings.vim') diff --git a/global-mappings.vim b/global-mappings.vim new file mode 100644 index 0000000..6fddc08 --- /dev/null +++ b/global-mappings.vim @@ -0,0 +1,23 @@ +" Windows navigation. +nnoremap +nnoremap +nnoremap +nnoremap + +" Mkdir for the current file. +command MkCurDir :!mkdir %:h:S -p + +" Copy the last used register to the clipboard. +command Clipboard :call system('cclip', @") + +" Reload settings. +command Source :source $MYVIMRC + +" Automatically starts terminal emulator in insert mode. +autocmd TermOpen * startinsert +tnoremap h +" Workaround since isn't working in neovim right now +" tnoremap h h +tnoremap j +tnoremap k +tnoremap l -- cgit v1.2.3-70-g09d2