" -- Environment Variables --------------------------------------- {{{ source $HOME/.wryn/env/env.vim "sets the following variables: "$RC_DIR $VIM_DIR $WRYNVIMRC $WRYNBASH $MYBASHRC $WEBBROWSER set encoding=utf-8 " set italics characters set t_ZH= set t_ZR= let mapleader = "\\" "let localmapleader = ',' " Load Vundle first source $VIM_DIR/vundle.vim source $VIM_DIR/global_sets.vim source $VIM_DIR/file_formatting.vim source $VIM_DIR/edit_rc.vim source $VIM_DIR/abbreviations.vim source $VIM_DIR/window_pane_navigation.vim source $VIM_DIR/my_colors.vim " to execute macro on q nnoremap @q " Q to replace current line/selection with bash execution vnoremap Q !$SHELL nnoremap Q !!$SHELL " \q for `q:` nnoremap q q: " \t for rerun last 'test' command: nnoremap t q:?test " \f for fold nnoremap f z nnoremap f z " append current line to the line below nnoremap j ddpkJ " - to move the current line one below where it is nnoremap - :m +1 nnoremap _ :m -2 " - (insert mode) set current word to upper-case inoremap viwUea set relativenumber