Terminator: Update NZXT-terminator/set-from-git
- Vim: Column marker, reload vimrc mapping, mapping timeout.
This commit is contained in:
12
.vimrc
12
.vimrc
@@ -7,6 +7,7 @@ filetype plugin on
|
||||
syntax on
|
||||
set tabstop=4
|
||||
set tw=80
|
||||
set linebreak
|
||||
set colorcolumn=80
|
||||
set shiftwidth=4
|
||||
set autoindent
|
||||
@@ -14,6 +15,11 @@ set mouse=c
|
||||
set clipboard=unnamedplus
|
||||
set foldmethod=marker
|
||||
set linespace=5
|
||||
" set listchars=tab:\|\
|
||||
" set list
|
||||
set cursorcolumn
|
||||
set cursorline
|
||||
set timeoutlen=300
|
||||
" }}} set x=y "
|
||||
|
||||
autocmd VimResized * wincmd =
|
||||
@@ -31,7 +37,6 @@ call plug#begin('~/.vim/plugged')
|
||||
Plug 'vim-scripts/L9'
|
||||
" Plug 'vim-scripts/FuzzyFinder'
|
||||
Plug 'whatyouhide/vim-gotham'
|
||||
Plug 'nathanaelkane/vim-indent-guides'
|
||||
Plug 'flazz/vim-colorschemes'
|
||||
Plug '907th/vim-auto-save'
|
||||
let g:auto_save = 1
|
||||
@@ -72,7 +77,7 @@ map <F4> :wqa<CR>
|
||||
map <F5> :qa!<CR>
|
||||
map <F7> :AutoSaveToggle<CR>
|
||||
map <F9> :LLPStartPreview<CR>
|
||||
set pastetoggle=<F9>
|
||||
set pastetoggle=<F10>
|
||||
map <S-Enter> O<ESC>
|
||||
|
||||
" For splits.
|
||||
@@ -86,7 +91,6 @@ nnoremap <C-w> <C-W>|
|
||||
|
||||
let mapleader="\<Space>"
|
||||
nnoremap <leader>e o<ESC>
|
||||
nnoremap <leader>f za
|
||||
nnoremap <leader>ff :set foldmethod=marker<CR> zM
|
||||
nnoremap <leader>h :set hlsearch! hlsearch?<CR>
|
||||
nnoremap <leader>m :call cursor(0, len(getline('.'))/2)<CR>
|
||||
@@ -94,8 +98,10 @@ nnoremap <leader>pli :PlugInstall<CR>
|
||||
nnoremap <leader>plc :PlugClean<CR>
|
||||
nnoremap <leader>plu :PlugUpdate<CR>
|
||||
nnoremap <leader>r :.,.+s///g<left><left><left><left><left>
|
||||
nnoremap <leader>rv :source $MYVIMRC<CR>
|
||||
nnoremap <leader>R :%s///g<left><left><left>
|
||||
nnoremap <leader>s :set syn=sh<CR>
|
||||
nnoremap <leader>z za
|
||||
" }}} Mappings "
|
||||
|
||||
" Local Mappings {{{ "
|
||||
|
||||
@@ -11,6 +11,10 @@
|
||||
go_up = <Primary>k
|
||||
new_tab = <Primary>t
|
||||
new_window = <Primary><Shift>n
|
||||
resize_down = <Primary><Shift>j
|
||||
resize_left = <Primary><Shift>h
|
||||
resize_right = <Primary><Shift>l
|
||||
resize_up = <Primary><Shift>k
|
||||
split_horiz = <Primary><Shift>i
|
||||
split_vert = <Primary><Shift>o
|
||||
[layouts]
|
||||
@@ -24,13 +28,20 @@
|
||||
[plugins]
|
||||
[profiles]
|
||||
[[default]]
|
||||
background_darkness = 0.89
|
||||
background_image = None
|
||||
background_type = transparent
|
||||
copy_on_selection = True
|
||||
cursor_color = "#b9b9b9"
|
||||
custom_command = env TERM=xterm-256color bash
|
||||
font = Monospace 8.5
|
||||
font = Ubuntu Mono 10
|
||||
foreground_color = "#0077ff"
|
||||
palette = "#000000:#aa0000:#00aa00:#aa5500:#0000aa:#aa00aa:#00aaaa:#aaaaaa:#555555:#ff5555:#55ff55:#ffff55:#5555ff:#ff55ff:#55ffff:#ffffff"
|
||||
scrollbar_position = hidden
|
||||
use_custom_command = True
|
||||
use_system_font = False
|
||||
[[light]]
|
||||
background_color = "#fdf6e3"
|
||||
background_image = None
|
||||
foreground_color = "#657b83"
|
||||
palette = "#073642:#dc322f:#859900:#b58900:#268bd2:#d33682:#2aa198:#eee8d5:#002b36:#cb4b16:#586e75:#657b83:#839496:#6c71c4:#93a1a1:#fdf6e3"
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
dot_dir=~/linux-config
|
||||
|
||||
# dotfiles
|
||||
dot_dir=~/linux-config
|
||||
dotfiles="bashrc gitconfig inputrc vimrc"
|
||||
cd $dot_dir
|
||||
for dotfile in $dotfiles; do
|
||||
@@ -9,10 +8,11 @@ for dotfile in $dotfiles; do
|
||||
done
|
||||
|
||||
# terminator
|
||||
dot_dir=~/linux-config
|
||||
term_dir=~/.config/terminator
|
||||
pc=$(hostname)
|
||||
rm "$dot_dir"/"$pc"-terminator
|
||||
ln "$term_dir"/config $dot_dir/"$pc"-terminator
|
||||
cp "$term_dir"/config $dot_dir/"$pc"-terminator
|
||||
|
||||
# UltiSnips
|
||||
ln -s $dot_dir/UltiSnips ~/.vim
|
||||
|
||||
Reference in New Issue
Block a user