diff --git a/.config/terminator/config b/.config/terminator/config index 83e5c86..7e1607a 100644 --- a/.config/terminator/config +++ b/.config/terminator/config @@ -7,6 +7,7 @@ title_inactive_bg_color = "#4C566A" always_split_with_profile = True [keybindings] + help = "" [profiles] [[default]] background_color = "#12204d" diff --git a/.vimrc b/.vimrc index 69461d8..6089400 100755 --- a/.vimrc +++ b/.vimrc @@ -34,6 +34,8 @@ if filereadable(expand(vundle_dir) . "/README.md") Plugin 'tpope/vim-unimpaired' Plugin 'JuliaEditorSupport/julia-vim' Plugin 'tell-k/vim-autopep8' + Plugin 'jpalardy/vim-slime' + Plugin 'preservim/tagbar' call vundle#end() " required else @@ -127,10 +129,21 @@ noremap Y y$ command! -bang -range=% -complete=file -nargs=* W ,write command! -bang Q quit +let g:ctrlp_map = '' +let g:ctrlp_cmd = 'CtrlPMixed' +let g:ctrlp_working_path_mode = 'ra' " Look for .git .hg .svn .bzr _darcs +let g:ctrlp_custom_ignore = { + \ 'dir': '\v[\/]\.(git|hg|svn|data|logs)$', + \ 'file': '\v\.(exe|so|dll)$', + \ } + " Gutentags configuration if !executable('ctags') let g:gutentags_enabled = 0 else + nmap :CtrlPTag + nmap :TagbarToggle + let g:gutentags_add_default_project_roots = 0 let g:gutentags_project_root = ['.git'] @@ -332,6 +345,9 @@ noremap LaTeXtoUnicode#Toggle() noremap! LaTeXtoUnicode#Toggle() autocmd FileType python noremap :call Autopep8() +let g:slime_target = "tmux" +let g:slime_default_config = {"socket_name": "default", "target_pane": "{last}"} + nmap cf :cd %:p:h " Change dir to parent of current file nmap cg :cd $git_root_location " Change dir to git root nmap vs :sp $HOME/.vimrc