aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorCody Hiar <cody@hiar.ca>2020-03-05 10:22:45 -0700
committerCody Hiar <cody@hiar.ca>2020-03-05 10:22:45 -0700
commit43f31bf6e4871d6849e5882762988e01443775ea (patch)
tree7468e40a5056ed22953b8f6ecae0537d4baeb8ce /plugin
parente7971e24dade99477824b68130894c70b23f199e (diff)
Leader needs to be before commands
Diffstat (limited to 'plugin')
-rw-r--r--plugin/vim-options.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim
index e1ef2a5..3907ddd 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -53,6 +53,8 @@ au BufEnter *.py let w:m1=matchadd('ColorColumn', '\%81v', 100)
au BufEnter *.py let w:m2=matchadd('Error', '\%121v', 100)
au BufLeave *.py call clearmatches()
+let mapleader="\<Space>"
+
" Neovim (Docker) vs Vim
if has('nvim')
nnoremap <leader>y :call system('nc -w 1 172.17.0.1 41401', @0)<CR>
@@ -65,8 +67,6 @@ else
let $SessionDir='.'
endif
-" My Shorcuts
-let mapleader="\<Space>"
" type jj to get out of insert mode
inoremap jj <ESC>
" Ctags for python project