From 4cc7d67133916228656aa9aa44c1893e4380b29d Mon Sep 17 00:00:00 2001 From: Matthew Jensen Date: Wed, 7 Aug 2019 19:15:51 -0700 Subject: [PATCH] add current path autocomplete in vim. --- dotfiles/.vimrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dotfiles/.vimrc b/dotfiles/.vimrc index 7e94ded..39b112d 100644 --- a/dotfiles/.vimrc +++ b/dotfiles/.vimrc @@ -42,6 +42,12 @@ map :CtrlPBufTag " I don't want to pull up these folders/files when calling CtrlP set wildignore+=*/node_modules/** + +" Copy and Paste register between tmux panes. let g:slime_target = "tmux" let g:slime_default_config = {"socket_name": "default", "target_pane": "1"} +" Auto complete current file path to edit, tabe or split +map ,e :e =expand("%:p:h") . "/" +map ,t :tabe =expand("%:p:h") . "/" +map ,s :split =expand("%:p:h") . "/"