Compare commits
2 Commits
0a3753f35b
...
20eb4e54d8
Author | SHA1 | Date | |
---|---|---|---|
|
20eb4e54d8 | ||
|
effa93526f |
@ -12,11 +12,11 @@
|
||||
|
||||
" Vundle Installation {{{
|
||||
" Bootstrap Vundle if it's not installed
|
||||
if empty(system("grep lazy_load ~/.vim/bundle/Vundle.vim/autoload/vundle.vim"))
|
||||
silent !mkdir -p ~/.vim/bundle
|
||||
silent !rm -rf ~/.vim/bundle/Vundle.vim
|
||||
silent !git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
|
||||
endif
|
||||
if empty(glob("~/.vim/autoload/plug.vim"))
|
||||
echo "No vim-plug, getting it ..."
|
||||
execute '!curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
||||
echo "Getting vim-plug ... done"
|
||||
endif
|
||||
" }}}
|
||||
|
||||
" Base settings {{{
|
||||
@ -40,44 +40,41 @@
|
||||
|
||||
" Vundle setup - Preamble {{{
|
||||
|
||||
set runtimepath+=~/.vim/bundle/Vundle.vim
|
||||
call vundle#begin()
|
||||
|
||||
Plugin 'VundleVim/Vundle.vim'
|
||||
call plug#begin()
|
||||
|
||||
" }}}
|
||||
|
||||
" Vundle setup - Packages {{{
|
||||
|
||||
Plugin 'scrooloose/nerdtree'
|
||||
Plugin 'tpope/vim-fugitive'
|
||||
Plugin 'mhinz/vim-signify'
|
||||
Plugin 'tmhedberg/matchit'
|
||||
Plugin 'spf13/vim-colors'
|
||||
Plugin 'ajmwagar/vim-deus.git'
|
||||
Plugin 'tpope/vim-surround'
|
||||
Plugin 'tpope/vim-repeat'
|
||||
Plugin 'drmikehenry/vim-fontsize'
|
||||
Plugin 'jiangmiao/auto-pairs'
|
||||
Plugin 'terryma/vim-multiple-cursors'
|
||||
Plugin 'vim-airline/vim-airline'
|
||||
Plugin 'vim-airline/vim-airline-themes'
|
||||
Plugin 'roxma/vim-hug-neovim-rpc'
|
||||
Plugin 'roxma/nvim-yarp'
|
||||
Plugin 'Shougo/denite.nvim'
|
||||
Plugin 'pR0Ps/molokai-dark'
|
||||
Plugin 'flrnprz/plastic.vim'
|
||||
Plugin 'nathanaelkane/vim-indent-guides'
|
||||
Plugin 'luochen1990/rainbow'
|
||||
Plugin 'vhda/verilog_systemverilog.vim'
|
||||
Plugin 'nanotech/jellybeans.vim'
|
||||
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
||||
Plug 'tpope/vim-fugitive'
|
||||
Plug 'mhinz/vim-signify'
|
||||
Plug 'tmhedberg/matchit'
|
||||
Plug 'spf13/vim-colors'
|
||||
Plug 'ajmwagar/vim-deus.git'
|
||||
Plug 'tpope/vim-surround'
|
||||
Plug 'tpope/vim-repeat'
|
||||
Plug 'drmikehenry/vim-fontsize'
|
||||
Plug 'jiangmiao/auto-pairs'
|
||||
Plug 'terryma/vim-multiple-cursors'
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'vim-airline/vim-airline-themes'
|
||||
"Plug 'roxma/vim-hug-neovim-rpc'
|
||||
"Plug 'roxma/nvim-yarp'
|
||||
"Plug 'Shougo/denite.nvim'
|
||||
Plug 'ctrlpvim/ctrlp.vim'
|
||||
Plug 'pR0Ps/molokai-dark'
|
||||
Plug 'flrnprz/plastic.vim'
|
||||
Plug 'nathanaelkane/vim-indent-guides'
|
||||
Plug 'luochen1990/rainbow'
|
||||
Plug 'vhda/verilog_systemverilog.vim'
|
||||
Plug 'nanotech/jellybeans.vim'
|
||||
|
||||
" }}}
|
||||
|
||||
" Vundle - Closing {{{
|
||||
|
||||
call vundle#end() " required
|
||||
filetype plugin indent on " required
|
||||
call plug#end()
|
||||
|
||||
" }}}
|
||||
|
||||
@ -91,7 +88,7 @@
|
||||
elseif has("win32")
|
||||
set guifont=Iosevka\ Term\ Regular\ 13
|
||||
else
|
||||
set guifont=Iosevka\ Term\ Regular\ 10.5
|
||||
set guifont=Iosevka\ Term\ Regular\ 13.5
|
||||
end
|
||||
|
||||
set columns=120 lines=54
|
||||
@ -113,6 +110,9 @@
|
||||
set guioptions=iaA
|
||||
else
|
||||
set background=dark
|
||||
if has('vcon')
|
||||
set termguicolors
|
||||
endif
|
||||
endif
|
||||
|
||||
" check to make sure vim has been compiled with colorcolumn support
|
||||
@ -121,8 +121,8 @@
|
||||
set colorcolumn=120
|
||||
endif
|
||||
|
||||
"colorscheme molokai-dark
|
||||
colorscheme deus
|
||||
colorscheme molokai-dark
|
||||
"colorscheme deus
|
||||
set norelativenumber
|
||||
set number
|
||||
|
||||
@ -219,8 +219,10 @@
|
||||
nnoremap <S-F8> <C-w>s
|
||||
nnoremap <F8> <C-w>v
|
||||
|
||||
nnoremap <F9> :Denite buffer<CR>
|
||||
nnoremap <leader>b :Denite buffer<CR>
|
||||
"nnoremap <F9> :Denite buffer<CR>
|
||||
"nnoremap <leader>b :Denite buffer<CR>
|
||||
nnoremap <F9> :CtrlPMixed<CR>
|
||||
nnoremap <leader>b :CtrlPBuffer<CR>
|
||||
|
||||
nnoremap <S-F10> :set wrap!<CR>
|
||||
nnoremap <S-F1> :set spell!<CR>
|
||||
|
@ -2,7 +2,7 @@
|
||||
# TMUX Configuration file
|
||||
#
|
||||
# General settings {{{
|
||||
set -g default-terminal "screen-256color"
|
||||
set -g default-terminal "xterm-256color"
|
||||
set -g prefix C-a
|
||||
unbind-key C-b
|
||||
bind-key C-a send-prefix
|
||||
@ -10,7 +10,6 @@
|
||||
set -as terminal-overrides ",*:U8=0"
|
||||
|
||||
set -g mouse on
|
||||
bind r source-file ~/.tmux.conf
|
||||
set -g status-position top
|
||||
# set -g status-windows-justify middle
|
||||
|
||||
@ -41,6 +40,17 @@
|
||||
bind -n M-j select-pane -D
|
||||
bind -n M-k select-pane -U
|
||||
bind -n M-l select-pane -R
|
||||
|
||||
# Clipboard integration
|
||||
# ctrl+c to send to clipboard
|
||||
|
||||
# Selection with mouse should copy to clipboard right away, in addition to the default action.
|
||||
unbind -n -Tcopy-mode-vi MouseDragEnd1Pane
|
||||
bind -Tcopy-mode-vi MouseDragEnd1Pane send -X copy-selection-and-cancel\; run "tmux save-buffer - | xclip -i -sel clipboard > /dev/null"
|
||||
|
||||
# Middle click to paste from the clipboard
|
||||
unbind-key MouseDown2Pane
|
||||
bind-key -n MouseDown2Pane run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer"
|
||||
# }}}
|
||||
|
||||
# Footer {{{
|
||||
|
Loading…
Reference in New Issue
Block a user