From 9c8ffdb504113d8c8ed2f04f2b1552eb077414b4 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 19 Dec 2016 20:53:45 -0500 Subject: Updates git functions, vimrc, etc. --- configs/.vimrc | 19 ++++++++++++++++++- configs/.zsh_profile | 5 +++++ configs/tmux-256color-italic | 3 +++ 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 configs/tmux-256color-italic (limited to 'configs') diff --git a/configs/.vimrc b/configs/.vimrc index a40b3d62983c..b8c20d732fcf 100644 --- a/configs/.vimrc +++ b/configs/.vimrc @@ -77,6 +77,10 @@ Plugin 'neomake/neomake' Plugin 'flazz/vim-colorschemes' +" Dash integration (macOS only) +Plugin 'rizzatti/dash.vim' + + call vundle#end() " required filetype plugin indent on " required " Put your non-Plugin stuff after this line @@ -101,6 +105,10 @@ let g:neomake_elixir_credo_maker = { \ } +" Alchemist settings +let g:alchemist#elixir_erlang_src = '/usr/local/share/src' + + " Airline Settings " Enables the list of buffers. let g:airline#extensions#tabline#enabled = 1 @@ -130,7 +138,6 @@ nmap :8b nmap :9b - " It's the twenty-first century...no swaps. set noswapfile @@ -186,6 +193,14 @@ vnoremap gc let mapleader = " " +" Lookup Dash word under cursor in Dash +nnoremap j :Dash + + +" Save shortcut +nnoremap :w + + " Switch to MRU'd buffer nnoremap @@ -309,6 +324,8 @@ set background=dark syntax enable colorscheme hybrid +set termguicolors + set history=1000 set undolevels=1000 diff --git a/configs/.zsh_profile b/configs/.zsh_profile index 72200b436491..ab7f2b423004 100644 --- a/configs/.zsh_profile +++ b/configs/.zsh_profile @@ -3,6 +3,11 @@ export PATH=$HOME/bin:/opt/local/bin:/opt/local/sbin:/usr/local/go/bin:/usr/loca # make vim the default editor for commit messages etc export EDITOR=$(which vim) + +# Adds a newline after the prompt to increase linespace for commands. +PS1="${PS1} + " + echo "Welcome back, $USER" # display the space available on each mounted Volume diff --git a/configs/tmux-256color-italic b/configs/tmux-256color-italic new file mode 100644 index 000000000000..f6f795e42377 --- /dev/null +++ b/configs/tmux-256color-italic @@ -0,0 +1,3 @@ +tmux-256color-italic|tmux with 256 colors and italic, + sitm=\ePtmux;\e\E[3m\e\\, ritm=\ePtmux;\e\E[23m\e\\, + use=screen-256color, -- cgit 1.4.1