about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2016-12-20T01·53-0500
committerWilliam Carroll <wpcarro@gmail.com>2016-12-20T01·53-0500
commit9c8ffdb504113d8c8ed2f04f2b1552eb077414b4 (patch)
tree1ee0b26c25ae80a1f2e14a9373a6d883829a8eae /configs
parent17f7e0c453b18f794f7a9a1c76fd6d55dae64deb (diff)
Updates git functions, vimrc, etc.
Diffstat (limited to 'configs')
-rw-r--r--configs/.vimrc19
-rw-r--r--configs/.zsh_profile5
-rw-r--r--configs/tmux-256color-italic3
3 files changed, 26 insertions, 1 deletions
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 <F8> :8b<CR>
 nmap <F9> :9b<CR>
 
 
-
 " It's the twenty-first century...no swaps.
 set noswapfile
 
@@ -186,6 +193,14 @@ vnoremap <C-/> gc
 let mapleader = " "
 
 
+" Lookup Dash word under cursor in Dash
+nnoremap <leader>j :Dash<CR>
+
+
+" Save shortcut
+nnoremap <C-s> :w<CR>
+
+
 " Switch to MRU'd buffer
 nnoremap <leader><leader> <C-^>
 
@@ -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,