Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- """"""" Neovim init file """""""""
- """ Plugins
- set rtp+=~/.config/nvim/bundle/Vundle.vim
- call vundle#begin('~/.config/nvim/bundle')
- Plugin 'VundleVim/Vundle.vim' " Plugin manager
- if $TERM !=? "linux"
- Plugin 'itchyny/lightline.vim' " Status bar
- endif
- Plugin 'ervandew/supertab' " Tab completion
- Plugin 'NLKNguyen/papercolor-theme' " Color scheme
- Plugin 'https://git.x4m3.rocks/x4m3/vim-epitech.git' " Epitech plugin
- Plugin 'airblade/vim-rooter' " cd to .git
- Plugin 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
- Plugin 'junegunn/fzf.vim' " Fuzzy search
- Plugin 'tomtom/tcomment_vim' " Comment plugin
- Plugin 'michaeljsmith/vim-indent-object' " Indent selector
- call vundle#end()
- """ Others
- filetype plugin indent on
- """ Fonts and colors
- syntax enable " Enable syntax processing
- set background=dark " Background to dark
- colorscheme PaperColor " Set the color scheme
- """ Split
- set splitbelow " Horizontal split below current.
- set splitright " Vertical split to right of current.
- """ TABS
- set tabstop=4 " Number of visual spaces per TAB
- set softtabstop=4 " Number of spaces in tab when editing
- set shiftwidth=4 " Number of spaces to use for autoindent
- set expandtab
- set autoindent
- """ UI Config
- set number " Show line number
- set showcmd " Show command in bottom bar
- set wildmenu " Visual autocomplete for command menu
- set showmatch " Highlight matching brace
- set mouse=a
- set title
- set cmdheight=1
- set linebreak
- """ Searching
- set smartcase " Case-sensitive if capital letter
- set incsearch " Set incremental search (like modern browsers)
- set hlsearch " Highlight search result
- """ FIXs
- autocmd BufReadPost *
- \ if line("'\"") > 0 && line("'\"") <= line("$") |
- \ exe "normal g`\"" |
- \ endif " Fixing last pos
- set shell=/usr/bin/bash " Fixing plugins error
- set nolist " Don't show new line
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement