From 2761465c63c4140970a87cf802227c08fca6359f Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Sun, 22 Sep 2019 15:00:32 -0600 Subject: [PATCH] Moved dependent import to respective file --- vim/file_formatting.vim | 7 ++++++- vim/rc.vim | 6 +----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/vim/file_formatting.vim b/vim/file_formatting.vim index 3f00b03..030ab57 100644 --- a/vim/file_formatting.vim +++ b/vim/file_formatting.vim @@ -1,4 +1,4 @@ -syntax on " detect syntax +syntax on " -- File Formatting ------------------------------------- {{{ augroup filetype_specific_formatting @@ -23,3 +23,8 @@ augroup execute_file_shortcuts autocmd FileType tex nnoremap ec :! $WEBBROWSER %:r.pdf augroup end " }}} + + +" Custom Formatting Layers {{{ +source $VIM_DIR/rd_formatting.vim +" }}} diff --git a/vim/rc.vim b/vim/rc.vim index ceedc75..d1978b5 100644 --- a/vim/rc.vim +++ b/vim/rc.vim @@ -6,10 +6,9 @@ source $HOME/.my_vim_env let mapleader = "\\" "let localmapleader = ',' -" 1) Load Vundle first +" Load Vundle first source $VIM_DIR/vundle.vim -" 2) Order insensitive plugins source $VIM_DIR/global_sets.vim source $VIM_DIR/file_formatting.vim source $VIM_DIR/edit_rc.vim @@ -17,9 +16,6 @@ source $VIM_DIR/abbreviations.vim source $VIM_DIR/window_pane_navigation.vim source $VIM_DIR/my_colors.vim -" 3) Order sensitive plugins -source $VIM_DIR/rd_formatting.vim " Must load after file_formatting - " to execute macro on q nnoremap @q