Compare commits
10 Commits
0cf7a0e1f1
...
0fbd88a5e5
Author | SHA1 | Date | |
---|---|---|---|
|
0fbd88a5e5 | ||
|
bfbdd11df8 | ||
|
96b975c1f9 | ||
|
1003e7d2d9 | ||
|
29a1c649a1 | ||
|
1d7cd7f367 | ||
|
3d1081f7c6 | ||
|
e90d79e7ec | ||
|
8edfb474ce | ||
|
c4be65c0b9 |
19
.tmux.conf
19
.tmux.conf
@ -35,3 +35,22 @@ set-window-option -g pane-base-index 1
|
|||||||
# Move to next/previous window with Alt+k/Alt+j
|
# Move to next/previous window with Alt+k/Alt+j
|
||||||
bind -n M-j previous-window
|
bind -n M-j previous-window
|
||||||
bind -n M-k next-window
|
bind -n M-k next-window
|
||||||
|
|
||||||
|
# Fix tmux color issue for vim
|
||||||
|
set -g default-terminal "xterm-256color"
|
||||||
|
|
||||||
|
# Enable mouse mode
|
||||||
|
set -g mouse on
|
||||||
|
|
||||||
|
# Tmux Plugin Manager
|
||||||
|
# Note: Clone https://github.com/tmux-plugins/tpm to ~/.tmux/plugins/tpm first
|
||||||
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
|
|
||||||
|
# Theme
|
||||||
|
set -g @plugin 'egel/tmux-gruvbox'
|
||||||
|
set -g @tmux-gruvbox 'dark'
|
||||||
|
#set -g @plugin 'jimeh/tmux-themepack'
|
||||||
|
#set -g @themepack 'powerline/double/magenta'
|
||||||
|
|
||||||
|
# Load Tmux Plugin Manager (keep this at the end)
|
||||||
|
run '~/.tmux/plugins/tpm/tpm'
|
||||||
|
23
.vim/vimrc
23
.vim/vimrc
@ -28,10 +28,12 @@ set history=10000 " Set the commands to save in history default number is 20.
|
|||||||
set wildmenu " Enable auto completion menu after pressing TAB.
|
set wildmenu " Enable auto completion menu after pressing TAB.
|
||||||
set wildmode=list:longest " Make wildmenu behave like similar to Bash completion.
|
set wildmode=list:longest " Make wildmenu behave like similar to Bash completion.
|
||||||
set title " Show file title
|
set title " Show file title
|
||||||
|
set cc=100 " Enable visual limit at 100 chars for good code formatting practice
|
||||||
set guifont=hack_nerd_font:h11
|
set guifont=hack_nerd_font:h11
|
||||||
" set cc=100 " Enable visual limit at 100 chars for good code formatting practice
|
set bg=dark
|
||||||
|
set relativenumber
|
||||||
|
|
||||||
let g:kite_supported_languages = ['python', 'javascript']
|
let g:kite_supported_languages = ['python', 'javascript', 'go']
|
||||||
|
|
||||||
|
|
||||||
" There are certain files that we would never want to edit with Vim.
|
" There are certain files that we would never want to edit with Vim.
|
||||||
@ -46,8 +48,8 @@ call plug#begin('~/.vim/autoload/plug')
|
|||||||
|
|
||||||
Plug 'davidhalter/jedi-vim'
|
Plug 'davidhalter/jedi-vim'
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
Plug 'preservim/nerdtree'
|
|
||||||
Plug 'vim-airline/vim-airline-themes'
|
Plug 'vim-airline/vim-airline-themes'
|
||||||
|
Plug 'preservim/nerdtree'
|
||||||
Plug 'morhetz/gruvbox'
|
Plug 'morhetz/gruvbox'
|
||||||
Plug 'sheerun/vim-polyglot'
|
Plug 'sheerun/vim-polyglot'
|
||||||
Plug 'ryanoasis/vim-devicons'
|
Plug 'ryanoasis/vim-devicons'
|
||||||
@ -55,12 +57,15 @@ Plug 'scrooloose/nerdcommenter'
|
|||||||
Plug 'Xuyuanp/nerdtree-git-plugin'
|
Plug 'Xuyuanp/nerdtree-git-plugin'
|
||||||
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
|
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
|
||||||
Plug 'PhilRunninger/nerdtree-visual-selection'
|
Plug 'PhilRunninger/nerdtree-visual-selection'
|
||||||
|
Plug 'tpope/vim-fugitive'
|
||||||
|
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
||||||
|
Plug 'tpope/vim-fireplace', { 'for': 'clojure' }
|
||||||
|
Plug 'dense-analysis/ale'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
" Plugin configs
|
" Plugin configs
|
||||||
|
|
||||||
colorscheme gruvbox
|
|
||||||
let g:bargreybars_auto=0
|
let g:bargreybars_auto=0
|
||||||
let g:airline_solorized_bg='dark'
|
let g:airline_solorized_bg='dark'
|
||||||
let g:airline_powerline_fonts=1
|
let g:airline_powerline_fonts=1
|
||||||
@ -69,12 +74,20 @@ let g:airline#extension#tabline#left_sep=' '
|
|||||||
let g:airline#extension#tabline#left_alt_sep='|'
|
let g:airline#extension#tabline#left_alt_sep='|'
|
||||||
let g:airline#extension#tabline#formatter='unique_tail'
|
let g:airline#extension#tabline#formatter='unique_tail'
|
||||||
let NERDTreeQuitOnOpen=1
|
let NERDTreeQuitOnOpen=1
|
||||||
|
|
||||||
let g:WebDevIconsUnicodeDecorateFolderNodes = 1
|
let g:WebDevIconsUnicodeDecorateFolderNodes = 1
|
||||||
let g:WebDevIconsUnicodeDecorateFolderNodeDefaultSymbol = '#'
|
let g:WebDevIconsUnicodeDecorateFolderNodeDefaultSymbol = '#'
|
||||||
let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols = {}
|
let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols = {}
|
||||||
let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['nerdtree'] = '#'
|
let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['nerdtree'] = '#'
|
||||||
|
let g:ale_virtualtext_cursor = 'current'
|
||||||
|
let g:ale_linters = {
|
||||||
|
\ 'python': ['flake8', 'pylint'],
|
||||||
|
\ 'go': ['vet', 'errcheck'],
|
||||||
|
\}
|
||||||
|
let g:ale_python_flake8_options = '--ignore=E501'
|
||||||
|
let g:ale_echo_msg_format = '[%linter%] [%severity%] %code% %s'
|
||||||
|
let g:gruvbox_contrast_dark = 'soft'
|
||||||
|
|
||||||
|
colorscheme gruvbox
|
||||||
" " }}}
|
" " }}}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
rsync -ax --exclude ./.git --exclude setup_dotenv_files.sh ./ ~/
|
rsync -ax --exclude .git --exclude setup_dotenv_files.sh --exclude vim_fonts ./ ~/
|
||||||
|
curl --no-progress-meter -fLo ~/.vim/autoload/plug.vim --create-dirs \
|
||||||
|
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||||
|
|
||||||
|
echo 'For VIM: Remember to run ":PlugInstall" on first run to set up the themes and plugins!'
|
||||||
|
BIN
vim_fonts/Hack.zip
Normal file
BIN
vim_fonts/Hack.zip
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user