dotfiles/vimrc

91 lines
1.6 KiB
VimL
Raw Normal View History

2023-04-29 16:36:57 +02:00
" Impostazioni di base
syntax on
set background=dark
set modelines=5
set modeline
set incsearch
set showcmd
set laststatus=2
let g:airline_powerline_fonts = 1
" Override grep
set grepprg=grep\ -nH\ $*
" Cambio il tex flavor
let g:tex_flavor='latex'
" Vundle stuff
set nocompatible
filetype off
" Set runtimepath to include Vundle
set rtp+=~/.vim/bundle/Vundle.vim
" Vundle configuration begin
call vundle#begin()
" Let vundle manage itself
Plugin 'VundleVim/Vundle.vim'
" Git wrapper
Plugin 'tpope/vim-fugitive'
" File explorer
Plugin 'scrooloose/nerdtree'
" Ansible syntax highlight
Bundle 'chase/vim-ansible-yaml'
" Blade syntax highlight
Bundle 'xsbeats/vim-blade'
" Solarized theme
Bundle 'altercation/vim-colors-solarized'
" HTML 5 template
Bundle 'othree/html5.vim'
" Vim Airline
Plugin 'vim-airline/vim-airline'
" Vim Airline
Plugin 'vim-airline/vim-airline-themes'
" Vim-latexsuite
Plugin 'vim-latex/vim-latex'
" NERDTree git plugin
Plugin 'Xuyuanp/nerdtree-git-plugin'
" DevIcons
Plugin 'ryanoasis/vim-devicons'
" Fuzzy Finder
Plugin 'junegunn/fzf.vim'
" ALE - Linter and fixers
Plugin 'dense-analysis/ale'
" Vundle configuration end
call vundle#end()
" Set up airline-theme
let g:airline_theme='dark'
" ALE options
nmap <silent> <C-e> <Plug>(ale_next_wrap)
let g:ale_sign_error = '⬥'
let g:ale_sign_warning = '⬦'
" Configurations for GVim
if has('gui_running')
set guifont=FuraMono\ Nerd\ Font\ Regular\ 13,Ubuntu\ Mono\ derivative\ Powerline\ 14
colorscheme solarized
let g:airline_theme='base16'
endif
" Riattivo i pluing di tipo
filetype plugin indent on
" Configurazioni addizionali
map <C-n> :NERDTreeToggle<CR>