diff --git a/git/gitconfig b/git/gitconfig index fed75a7..bc4bec8 100644 --- a/git/gitconfig +++ b/git/gitconfig @@ -6,15 +6,10 @@ # Show me absolute paths, not relative paths # Link to a global excludes file [status] - relativePaths = false + relativePaths = false [core] - excludesfile = ~/.gitignore + excludesfile = ~/.gitignore -# User Settings -# User details -[user] - name = Bill Niblock - email = azulien@gmail.com [init] - templatedir = ~/.git_template + templatedir = ~/.git_template diff --git a/vim/vimrc b/vim/vimrc index b1de209..5c85c29 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -72,36 +72,28 @@ augroup END " ============================================================================== " Mappings " ============================================================================== -" Map Leader key let mapleader = "," - +" Remap ESC in insert mode +inoremap jk " Make moving up/down work on wrapped lines of text nnoremap j gj nnoremap k gk nnoremap ^ g^ nnoremap $ g$ - " Toggle fold with space, if we're in a fold, otherwise just space nnoremap @=(foldlevel('.')?'za':"\") vnoremap zf - " Allow saving of files as sudo when I forgot to start vim using sudo. cmap w!! w !sudo tee > /dev/null % - -" Remap ESC in insert mode -inoremap jk - " Remove Trailing Whitespaace nnoremap rtw :%s/\s\+$//e - " Open help topic in a full new tab command! -nargs=1 -complete=help H :tabnew | :set buftype=help | :h - " Show buffer list and prompt to choose one nnoremap b :ls:b - -" Simple mapping to dotfiles directory -nnoremap f :tabnew ~/.dotfiles/ +" Simple mapping to dotfiles directory (f = current tab; F = new tab) +nnoremap f :edit ~/.dotfiles/ +nnoremap F :tabnew ~/.dotfiles/ " ============================================================================== " Plugins " ==============================================================================