Installazione minimal e full.
This commit is contained in:
parent
353f316c1e
commit
8a06bb83b7
11 changed files with 294 additions and 14 deletions
101
vimrc-minimal
Normal file
101
vimrc-minimal
Normal file
|
@ -0,0 +1,101 @@
|
|||
" Impostazioni di base
|
||||
set nocompatible
|
||||
syntax on
|
||||
set background=dark
|
||||
set modelines=5
|
||||
set modeline
|
||||
set showcmd
|
||||
set laststatus=2
|
||||
set splitbelow
|
||||
set splitright
|
||||
|
||||
" Gestione plugin con vim-plug
|
||||
call plug#begin()
|
||||
" Base for plugin management
|
||||
Plug 'junegunn/vim-plug'
|
||||
|
||||
" Standard vim packages
|
||||
Plug 'tpope/vim-sensible'
|
||||
Plug 'tpope/vim-commentary'
|
||||
Plug 'tpope/vim-surround'
|
||||
Plug 'tpope/vim-repeat'
|
||||
|
||||
" Git wrapper
|
||||
Plug 'tpope/vim-fugitive'
|
||||
|
||||
" File explorer
|
||||
Plug 'scrooloose/nerdtree'
|
||||
|
||||
" nerdtree git plugin
|
||||
Plug 'Xuyuanp/nerdtree-git-plugin'
|
||||
|
||||
" fzf integration
|
||||
Plug 'junegunn/fzf.vim'
|
||||
|
||||
" Snippets management and support for vim
|
||||
Plug 'SirVer/ultisnips'
|
||||
Plug 'honza/vim-snippets'
|
||||
|
||||
" Ansible
|
||||
Plug 'pearofducks/ansible-vim' " syntax highlight
|
||||
|
||||
" Rust
|
||||
Plug 'rust-lang/rust.vim'
|
||||
Plug 'zooxyt/Ultisnips-rust'
|
||||
|
||||
" latex stuff
|
||||
Plug 'lervag/vimtex'
|
||||
Plug 'ckunte/latex-snippets-vim', { 'tag': '*' }
|
||||
|
||||
" HTML 5 template
|
||||
Plug 'othree/html5.vim'
|
||||
"
|
||||
" Blade syntax highlight
|
||||
Plug 'xsbeats/vim-blade'
|
||||
|
||||
" terraform syntax highlight
|
||||
Plug 'hashivim/vim-terraform'
|
||||
|
||||
" Mediawiki pages support
|
||||
Plug 'm-pilia/vim-mediawiki'
|
||||
|
||||
" Solarized theme
|
||||
Plug 'altercation/vim-colors-solarized'
|
||||
|
||||
" Vim-plug configuration end
|
||||
call plug#end()
|
||||
|
||||
" Riattivo i plugin per i tipi di file
|
||||
filetype plugin indent on
|
||||
|
||||
" Override grep
|
||||
set grepprg=grep\ -nH\ $*
|
||||
|
||||
" Configurazioni addizionali
|
||||
|
||||
" Nerdtree
|
||||
let g:NERDTreeNodeDelimiter = "\u00a0"
|
||||
map <C-n> :NERDTreeToggle<CR>
|
||||
|
||||
" LaTeXsuite - Cambio il tex flavor
|
||||
" let g:tex_flavor='latex'
|
||||
|
||||
" Configurazioni per ansible-vim
|
||||
let g:ansible_unindent_after_newline = 1
|
||||
|
||||
" vimtex configuration
|
||||
let g:vimtex_view_method = 'zathura'
|
||||
|
||||
" Ultisnips configuration
|
||||
let g:UltiSnipsExpandTrigger = '<Tab>'
|
||||
|
||||
" Configurations for GVim
|
||||
if has('gui_running')
|
||||
"set guifont=Ubuntu\ Mono\ derivative\ Powerline\ 14
|
||||
"set guifont = Droid Sans Mono Slashed for Powerline Regular 16,Ubuntu Mono derivative Powerline 14
|
||||
set guifont=Fira\ Code\ Nerd\ Font\ 12,Ubuntu\ Mono\ derivative\ Powerline\ 14
|
||||
|
||||
colorscheme solarized
|
||||
let lines=45
|
||||
let columns=80
|
||||
endif
|
Loading…
Add table
Add a link
Reference in a new issue