mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-11 11:43:03 +03:00
\Merge branch 'master' of https://github.com/SqrtMinusOne/configs
This commit is contained in:
commit
0efdea9c6d
2 changed files with 23 additions and 1 deletions
|
|
@ -3,16 +3,19 @@ call plug#begin('~/.local/share/nvim/plugged')
|
||||||
"UI
|
"UI
|
||||||
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
||||||
Plug 'jistr/vim-nerdtree-tabs'
|
Plug 'jistr/vim-nerdtree-tabs'
|
||||||
|
Plug 'xuyuanp/nerdtree-git-plugin'
|
||||||
|
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
Plug 'crusoexia/vim-monokai'
|
Plug 'crusoexia/vim-monokai'
|
||||||
Plug 'vim-airline/vim-airline-themes'
|
Plug 'vim-airline/vim-airline-themes'
|
||||||
Plug 'lifepillar/vim-solarized8'
|
Plug 'lifepillar/vim-solarized8'
|
||||||
|
|
||||||
|
Plug 'kien/tabman.vim'
|
||||||
|
|
||||||
"Coding
|
"Coding
|
||||||
Plug 'valloric/youcompleteme'
|
Plug 'valloric/youcompleteme'
|
||||||
Plug 'tpope/vim-fugitive'
|
Plug 'tpope/vim-fugitive'
|
||||||
Plug 'vim-scripts/Rainbow-Parenthesis'
|
Plug 'luochen1990/rainbow'
|
||||||
Plug 'tpope/vim-surround'
|
Plug 'tpope/vim-surround'
|
||||||
Plug 'mbbill/undotree'
|
Plug 'mbbill/undotree'
|
||||||
|
|
||||||
|
|
@ -87,6 +90,8 @@ nmap <C-h> <C-W>h
|
||||||
nmap <C-j> <C-W>j
|
nmap <C-j> <C-W>j
|
||||||
nmap <C-k> <C-W>k
|
nmap <C-k> <C-W>k
|
||||||
nmap <C-l> <C-W>l
|
nmap <C-l> <C-W>l
|
||||||
|
|
||||||
|
"Other mappings
|
||||||
nmap <C-p> :Files<CR>
|
nmap <C-p> :Files<CR>
|
||||||
|
|
||||||
"Snippets
|
"Snippets
|
||||||
|
|
@ -132,4 +137,9 @@ set laststatus=2
|
||||||
let g:airline_theme='powerlineish'
|
let g:airline_theme='powerlineish'
|
||||||
let g:airline_powerline_fonts = 1
|
let g:airline_powerline_fonts = 1
|
||||||
|
|
||||||
|
"Rainbow brackets
|
||||||
|
let g:rainbow_active = 1
|
||||||
|
let g:rainbow_conf = {
|
||||||
|
\ 'guifgs': ['red', 'yellow', 'lightgreen', 'lightblue'],
|
||||||
|
\ }
|
||||||
hi Conceal guibg=Normal guifg=Normal
|
hi Conceal guibg=Normal guifg=Normal
|
||||||
|
|
|
||||||
12
nvim/my-snippets/UltiSnips/python.snippets
Normal file
12
nvim/my-snippets/UltiSnips/python.snippets
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
snippet qinit "def __init__(self, parent=None)"
|
||||||
|
def __init__(self, parent=None):
|
||||||
|
super().__init__(parent)
|
||||||
|
$0
|
||||||
|
|
||||||
|
endsnippet
|
||||||
|
|
||||||
|
|
||||||
|
snippet forl "[action for item in iterable]"
|
||||||
|
[$1 for $2 in $3]
|
||||||
|
$0
|
||||||
|
endsnippet
|
||||||
Loading…
Add table
Reference in a new issue