-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.vim
77 lines (68 loc) · 2.12 KB
/
init.vim
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
source $HOME/.config/nvim/plug.vim
set linebreak " Break lines at word (requires Wrap lines)
set showbreak=~~ " Wrap-broken line prefix
set textwidth=80 " Line wrap (number of cols)
set showmatch " Highlight matching brace
set visualbell " Use visual bell (no beeping)
set number relativenumber
set tw=0
set hlsearch " Highlight all search results
set smartcase " Enable smart-case search
set ignorecase " Always case-insensitive
set incsearch " Searches for strings incrementally
" autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=None
set autoindent " Auto-indent new lines
set shiftwidth=4 " Number of auto-indent spaces
set smartindent " Enable smart-indent
set smarttab " Enable smart-tabs
set softtabstop=4 " Number of spaces per Tab
let python_highlight_all=1
let g:fzf_buffers_jump = 1
filetype indent plugin on
syntax on
set ruler " Show row and column ruler information
set cursorline
set backspace=indent,eol,start " Backspace behaviour
set hidden " No save
""" NON RIMUOVERE!!
noremap <Space> <Nop>
""" Read maps
runtime ./maps.vim
" If you have vim >=8.0 or Neovim >= 0.1.5
if (has("termguicolors"))
set termguicolors
endif
""" coq_nvim
let g:coq_settings = { 'auto_start': v:true }
let g:coq_settings = { 'keymap.jump_to_mark' : '' }
"
"""" Vim Wiki
"let g:vimwiki_list = [{'path': '~/vimwiki/',
" \ 'syntax': 'markdown', 'ext': '.md'}]
"let vim_markdown_preview_github=0
"let vim_markdown_preview_perl=0
"let vim_markdown_preview_pandoc=1
"let vim_markdown_preview_browser='firefox'
"let vim_markdown_preview_use_xdg_open=1
" For Neovim 0.1.3 and 0.1.4
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
let NERDTreeShowLineNumbers=1
autocmd FileType nerdtree setlocal relativenumber
" Theme
syntax enable
set termguicolors
colorscheme dracula
"runtime g:neosolarized_termtrans=1
"runtime ./colors/NeoSolarized.vim
"colorscheme NeoSolarized
"
hi Search guibg=DarkGrey guifg=Black
lua << EOF
require'lspconfig'.pyright.setup{}
require'lspconfig'.html.setup{}
require'lspconfig'.jsonls.setup{}
require'lspconfig'.gopls.setup{}
require'lspconfig'.rust_analyzer.setup{}
require'lspconfig'.hls.setup{}
require'lspconfig'.clangd.setup{}
EOF