my configurations with vim,vim plug-ins and tmux
2015-11-20 15:02
513 查看
TO BE CONTINUED...
TMUX-CONFIGURATION
" ------------------------------ VIM CONF -------------------------------------- " 显示行号 set nu " 设置自动缩进 set ai " 设置tab宽度 set tabstop=4 " [Alt+n] 切换到下一个vim缓冲区 map <A-n> :bn<CR> " [Alt+p] 切换到上一个vim缓冲区 map <A-p> :bp<CR> " 设置终端颜色 set t_Co=256 " 使用molokai色调,需开启t_Co设置 [https://github.com/tomasr/molokai] color molokai " 自定义高亮当前行 set cursorline " hi CursorLine cterm=NONE ctermbg=darkred ctermfg=NONE " 启用pathogen插件管理器 call pathogen#infect() " ------------------------------ AIRLINE CONF -------------------------------------- " 启用airline set laststatus=2 " 启用tabline let g:airline#extensions#tabline#enabled = 1 " 设置gvim箭头显示字体 [https://github.com/powerline/fonts] set guifont=Droid\ Sans\ Mono\ Slashed\ for\ Powerline\ 10 " 使用powerline字体 let g:airline_powerline_fonts=1 " ------------------------------ NERDTREE CONF -------------------------------------- " [F3] NERDTree开关 [https://github.com/scrooloose/nerdtree] map <F3> :NERDTreeToggle<CR>
TMUX-CONFIGURATION
#-- base --# set -g display-time 3000 set -g history-limit 65535 set -g mouse-select-pane on #-- bindkeys --# set -g prefix ^a # 设置[Ctrl+a]为leader键 #unbind ^b #bind a send-prefix unbind '"' bind - splitw -v # [Ctrl+a][-] 水平分割终端 unbind % bind | splitw -h # [Ctrl+a][Shift+\] 垂直分割终端 bind k select-pane -t -U bind j select-pane -t -D bind h select-pane -t -L bind l select-pane -t -R bind ^k resize-pane -U 10 bind ^j resize-pane -D 10 bind ^h resize-pane -L 10 bind ^l resize-pane -R 10 bind ^u swap-pane -U bind ^d swap-pane -D bind ^e last bind q killp bind '~' splitw htop bind ! splitw ncmpcpp bind m command-prompt "splitw 'exec man %%'" bind @ command-prompt "splitw 'exec perldoc -t -f %%'" bind * command-prompt "splitw 'exec perldoc -t -v %%'" bind % command-prompt "splitw 'exec perldoc -t %%'" bind / command-prompt "splitw 'exec ri -T %% | less'" # my customed bind C-n next-window bind C-p previous-window bind C-c new-window bind C-m set-option -g mouse-select-pane on # use MOUSE to select pane bind C-k set-option -g mouse-select-pane off # use KEYBOARD to select pane #-- statusbar --# set -g status-right "#[fg=green]#(/usr/bin/uptime)#[default] • #[fg=green]#(cut -d ' ' -f 1-3 /proc/loadavg)#[default]" set -g status-right-attr bright set -g status-bg black set -g status-fg yellow set-option -g status-justify centre # 窗口列表居中 setw -g window-status-current-attr bright #setw -g window-status-current-bg red #setw -g window-status-current-fg white set -g status-utf8 on set -g status-interval 1 #set -g visual-activity on #setw -g monitor-activity on setw -g automatic-rename on set -g status-keys vi setw -g mode-keys vi
相关文章推荐
- 使用java实现高中数学中自由组合
- IM类应用架构所需了解
- 算法笔记4
- 【转】Jmeter JDBC请求的问题
- 【转】Jmeter和LR上传文件和下载
- SQL servcer 时间日期函数、数据类型转换
- 【五】注入框架RoboGuice使用:(Your First POJO Injection)
- JQuery.Ajax()的data参数类型实例详解
- hive分区表增加字段新增字段值为空的bug
- ORACLE 10.2.5垮版本升级11.2.2 for windows 详细文档
- js 和css 加版本号问题
- 工厂模式
- 1009. 说反话 (20)
- weblogic 服务开机自动启动
- 【转】Jmeter的正则表达式未正确提取数据
- Android 触摸手势基础 官方文档概览
- GitHub上整理的一些工具 (转载)
- curl 异步执行操作
- dubbo使用logback输出日志
- Spring+Mybatis多数据源配置(二)——databaseIdProvider的使用