Prettifying tmux and vim a bit. Now that I'm a Real Emacs user, these got a bit neglected :(
This commit is contained in:
17
tmux.conf
17
tmux.conf
@@ -7,6 +7,17 @@ bind C-c new-window
|
|||||||
bind C-d detach
|
bind C-d detach
|
||||||
bind C-a last-window
|
bind C-a last-window
|
||||||
|
|
||||||
|
bind-key -n C-0 select-window -t :0
|
||||||
|
bind-key -n C-1 select-window -t :1
|
||||||
|
bind-key -n C-2 select-window -t :2
|
||||||
|
bind-key -n C-3 select-window -t :3
|
||||||
|
bind-key -n C-4 select-window -t :4
|
||||||
|
bind-key -n C-5 select-window -t :5
|
||||||
|
bind-key -n C-6 select-window -t :6
|
||||||
|
bind-key -n C-7 select-window -t :7
|
||||||
|
bind-key -n C-8 select-window -t :8
|
||||||
|
bind-key -n C-9 select-window -t :9
|
||||||
|
|
||||||
set -g mode-keys vi
|
set -g mode-keys vi
|
||||||
|
|
||||||
# Terminal Titles
|
# Terminal Titles
|
||||||
@@ -45,12 +56,12 @@ set -g status-right '' # '%a %h-%d %H:%M '
|
|||||||
set -g status-left ''
|
set -g status-left ''
|
||||||
|
|
||||||
# default statusbar colors
|
# default statusbar colors
|
||||||
set-option -g status-bg default
|
set-option -g status-bg default # '#222222'
|
||||||
set-option -g status-fg '#888888'
|
set-option -g status-fg '#666666'
|
||||||
set-option -g status-attr default
|
set-option -g status-attr default
|
||||||
|
|
||||||
# default window title colors
|
# default window title colors
|
||||||
set-window-option -g window-status-fg '#888888'
|
set-window-option -g window-status-fg '#666666'
|
||||||
set-window-option -g window-status-bg default
|
set-window-option -g window-status-bg default
|
||||||
# set-window-option -g window-status-attr dim
|
# set-window-option -g window-status-attr dim
|
||||||
|
|
||||||
|
|||||||
28
vimrc
28
vimrc
@@ -26,7 +26,8 @@ Plug 'majutsushi/tagbar'
|
|||||||
Plug 'scrooloose/syntastic'
|
Plug 'scrooloose/syntastic'
|
||||||
Plug 'scrooloose/nerdcommenter'
|
Plug 'scrooloose/nerdcommenter'
|
||||||
"Plug 'w0ng/vim-hybrid'
|
"Plug 'w0ng/vim-hybrid'
|
||||||
Plug 'sickill/vim-monokai'
|
"Plug 'sickill/vim-monokai'
|
||||||
|
Plug 'tomasr/molokai'
|
||||||
"Plug 'ervandew/supertab'
|
"Plug 'ervandew/supertab'
|
||||||
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': 'yes \| ./install' }
|
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': 'yes \| ./install' }
|
||||||
Plug 'junegunn/fzf.vim'
|
Plug 'junegunn/fzf.vim'
|
||||||
@@ -50,7 +51,7 @@ Plug 'eagletmt/ghc-mod'
|
|||||||
Plug 'bitc/vim-hdevtools'
|
Plug 'bitc/vim-hdevtools'
|
||||||
Plug 'idris-hackers/idris-vim'
|
Plug 'idris-hackers/idris-vim'
|
||||||
Plug 'qstrahl/vim-matchmaker'
|
Plug 'qstrahl/vim-matchmaker'
|
||||||
Plug 'bling/vim-airline'
|
" Plug 'bling/vim-airline'
|
||||||
Plug 'matze/vim-move'
|
Plug 'matze/vim-move'
|
||||||
Plug 'bruno-/vim-vertical-move'
|
Plug 'bruno-/vim-vertical-move'
|
||||||
Plug 'itchyny/calendar.vim'
|
Plug 'itchyny/calendar.vim'
|
||||||
@@ -71,11 +72,6 @@ Plug 'ctrlpvim/ctrlp.vim'
|
|||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
" mouse
|
|
||||||
if has("mouse")
|
|
||||||
endif
|
|
||||||
set mouse=a
|
|
||||||
|
|
||||||
" general goodness
|
" general goodness
|
||||||
set shell=/bin/bash " Syntastic breaks when trying to write to /var/folders
|
set shell=/bin/bash " Syntastic breaks when trying to write to /var/folders
|
||||||
syntax enable
|
syntax enable
|
||||||
@@ -105,7 +101,7 @@ set wrap
|
|||||||
set formatoptions=rqn1
|
set formatoptions=rqn1
|
||||||
set textwidth=80
|
set textwidth=80
|
||||||
if version > 702
|
if version > 702
|
||||||
set colorcolumn=80
|
"" set colorcolumn=80
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" persistent undo
|
" persistent undo
|
||||||
@@ -153,8 +149,16 @@ if has("gui_running")
|
|||||||
set go=-t
|
set go=-t
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" Git Gutter
|
||||||
|
let g:gitgutter_override_sign_column_highlight = 0
|
||||||
|
|
||||||
" Colors
|
" Colors
|
||||||
colorscheme monokai
|
" colorscheme monokai
|
||||||
|
colorscheme molokai
|
||||||
|
highlight Normal ctermbg=NONE
|
||||||
|
highlight SignColumn ctermbg=NONE
|
||||||
|
highlight LineNr ctermbg=NONE ctermfg=darkgrey
|
||||||
|
" highlight StatusLine guibg=NONE ctermfg=NONE ctermbg=red
|
||||||
|
|
||||||
" Tagbar
|
" Tagbar
|
||||||
nnoremap <silent><leader>t :TagbarToggle <cr>
|
nnoremap <silent><leader>t :TagbarToggle <cr>
|
||||||
@@ -238,7 +242,7 @@ autocmd FileType javascript,css nnoremap <silent> ,; :call cosco#commaOrSemiColo
|
|||||||
autocmd FileType javascript,css inoremap <silent> ,; <ESC>:call cosco#commaOrSemiColon()"<CR>a
|
autocmd FileType javascript,css inoremap <silent> ,; <ESC>:call cosco#commaOrSemiColon()"<CR>a
|
||||||
|
|
||||||
" Browser
|
" Browser
|
||||||
:let g:netrw_browsex_viewer = "browser"
|
let g:netrw_browsex_viewer = "browser"
|
||||||
|
|
||||||
" Calendar
|
" Calendar
|
||||||
let g:calendar_google_calendar = 1
|
let g:calendar_google_calendar = 1
|
||||||
@@ -268,8 +272,8 @@ function! s:AckMotion(type) abort
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" Airline
|
" Airline
|
||||||
let g:airline#extensions#tabline#enabled = 1
|
" let g:airline#extensions#tabline#enabled = 1
|
||||||
let g:airline_powerline_fonts = 1
|
" let g:airline_powerline_fonts = 1
|
||||||
|
|
||||||
" Powerline
|
" Powerline
|
||||||
" python from powerline.vim import setup as powerline_setup
|
" python from powerline.vim import setup as powerline_setup
|
||||||
|
|||||||
Reference in New Issue
Block a user