-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
60 lines (53 loc) · 1.57 KB
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin('~/.vim/plugged')
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
"Plug 'https://github.com/pangloss/vim-javascript'
Plug 'tpope/vim-surround'
" <command><surround object>[count]<surround target>[replacement]
" commands c=change d=delete y=add
" cs"' " -> '
" cs<q>
"Plug 'Valloric/YouCompleteMe'
Plug 'davidhalter/jedi-vim'
Plug 'Lokaltog/powerline', {'rtp':'powerline/bindings/vim'}
"Plug 'v0rp/ale'
"USAGE ctrl+ h j k l => Left, Down, Up, Right
" ctrl+k => Previous split
Plug 'christoomey/vim-tmux-navigator'
"GIT Wrapper
Plug 'tpope/vim-fugitive'
call plug#end()
" ------------------------ PYTHON -----------------------
" enable syntax highlighting
syntax enable
" show line numbers
set number
" set tabs to have 4 spaces
set ts=4
" indent when moving to the next line while writing code
set autoindent
" expand tabs into spaces
set expandtab
" when using the >> or << commands, shift lines by 4 spaces
set shiftwidth=4
" show a visual line under the cursor's current line
set cursorline
" show the matching part of the pair for [] {} and ()
set showmatch
" enable all Python syntax highlighting features
let python_highlight_all = 1
set backspace=2
set encoding=utf-8
":set fileencoding=utf-8
"
set background=dark
" Evidenzia ricerche
set hlsearch
" Folding
set foldmethod=syntax
" set foldlevel=1
" set foldclose=all