terminal及vim高亮

36 篇文章 0 订阅

在~/.bash_profile中修改:

  1 ## terminal hignlight:
  2 export CLICOLOR=1
  3 export LSCOLORS=gxfxaxdxcxegedabagacad
  4 #export LSCOLORS=exfxcxdxcxegedabagacad
  5 #https://www.cnblogs.com/Oven5217/p/11113689.html
  6 ## alias:
  7 alias ll='ls -l'

在~/.vimrc中修改:

  1 set number
  2 set cursorline
  3 set incsearch
  4 set hlsearch
  5 syntax enable
  6 syntax on
  7 filetype on
  8 set backspace=2
  9 set shiftwidth=4
 10 set softtabstop=4
 11 set tabstop=4
 12 set expandtab
 13 set autoindent
 14 set cindent
 15 set smartindent
 16 set nofoldenable
 17 colorscheme monokai "slate"
 18
 19 call plug#begin('~/.vim/plugged')
 20 Plug 'Yggdroot/indentLine'
 21 Plug 'mhinz/vim-startify'
 22 Plug 'vim-airline/vim-airline'
 23 Plug 'vim-airline/vim-airline-themes'
 24 Plug 'tomasr/molokai'
 25 Plug 'python-mode/python-mode', { 'for': 'python', 'branch': 'develop' }
 26
 27
 28 Plug 'ycm-core/YouCompleteMe', { 'do': './install.py --clang-completer'}
 29 Plug 'SirVer/ultisnips'
 30 Plug 'honza/vim-snippets'
 31 call plug#end()
 32
 33 "缩进指示线"
 34 let g:indentLine_char='┆'
 35
 36 let g:ycm_path_to_python_interpreter='/root/anaconda3/bin/python'
 37 let g:ycm_global_ycm_extra_conf='/root/.vim/plugged/YouCompleteMe/third_party/ycmd/examples/.ycm_extra_conf.py'
#mac默认修改colorscheme的路径
/usr/share/vim/vim80/colors/
#vim插件安装路径
~/.vim/plugged/
默认安装真路径
/usr/local/Cellar
默认安装路径软链接
/usr/local/opt
# vim python-mode
Submodule 'submodules/astroid' (https://github.com/PyCQA/astroid) registered for path 'submodules/astroid'
Submodule 'submodules/autopep8' (https://github.com/hhatto/autopep8) registered for path 'submodules/autopep8'
Submodule 'submodules/mccabe' (https://github.com/PyCQA/mccabe) registered for path 'submodules/mccabe'
Submodule 'submodules/pycodestyle' (https://github.com/PyCQA/pycodestyle) registered for path 'submodules/pycodestyle'
Submodule 'submodules/pydocstyle' (https://github.com/PyCQA/pydocstyle) registered for path 'submodules/pydocstyle'
Submodule 'submodules/pyflakes' (https://github.com/PyCQA/pyflakes) registered for path 'submodules/pyflakes'
Submodule 'submodules/pylama' (https://github.com/klen/pylama) registered for path 'submodules/pylama'
Submodule 'submodules/pylint' (https://github.com/PyCQA/pylint) registered for path 'submodules/pylint'
Submodule 'submodules/rope' (https://github.com/python-rope/rope) registered for path 'submodules/rope'
Submodule 'submodules/snowball_py' (https://github.com/diraol/snowball_py) registered for path 'submodules/snowball_py'

Cloning into '/Users/xxx_user/.vim/plugged/python-mode/submodules/astroid'...
alias tree="find . -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'"
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值