Improved overall configuration

+ added pluggin to automate basic config
+ added improved status line
! status line config to be fixed
This commit is contained in:
Julien Le Page 2021-09-13 17:04:06 +02:00
parent 14ebc79e83
commit 60f9dffbdd
6 changed files with 17 additions and 35 deletions

10
.gitmodules vendored
View File

@ -19,4 +19,12 @@
[submodule "bundle/vim-cpp-modern"] [submodule "bundle/vim-cpp-modern"]
path = bundle/vim-cpp-modern path = bundle/vim-cpp-modern
url = https://github.com/bfrg/vim-cpp-modern.git url = https://github.com/bfrg/vim-cpp-modern.git
[submodule "bundle/vim-sensible"]
path = bundle/vim-sensible
url = https://github.com/tpope/vim-sensible
[submodule "bundle/vim-airline"]
path = bundle/vim-airline
url = https://github.com/vim-airline/vim-airline
[submodule "bundle/vim-airline-themes"]
path = bundle/vim-airline-themes
url = https://github.com/vim-airline/vim-airline-themes.git

1
bundle/vim-airline Submodule

@ -0,0 +1 @@
Subproject commit 2e29ab965625d1315f0ad070c928794baea3d66f

@ -0,0 +1 @@
Subproject commit 97cf3e6e638f936187d5f6e9b5eb1bdf0a4df256

@ -1 +0,0 @@
Subproject commit 855c30915547c7e9c19b7e6efb528730c071d2e8

1
bundle/vim-sensible Submodule

@ -0,0 +1 @@
Subproject commit 2d9f34c09f548ed4df213389caa2882bfe56db58

38
vimrc
View File

@ -2,45 +2,17 @@
runtime bundle/vim-pathogen/autoload/pathogen.vim runtime bundle/vim-pathogen/autoload/pathogen.vim
execute pathogen#infect() execute pathogen#infect()
"file type detection " colorscheme
filetype on
"ligne number
set number
"coloration
syntax on
set cursorline
"highlight ColorColumn ctermbg=DarkYellow
let g:spacegray_use_italics=1 let g:spacegray_use_italics=1
colorscheme spacegray colorscheme spacegray
"let g:minimap_highlight='Visual' let g:airline_theme='distinguished'
"miscellaneous " custom settings
set backspace=indent,eol,start set number
set tabstop=4 set tabstop=4
set shiftwidth=4 set shiftwidth=4
set shiftround
set ruler
set nocompatible
"inclomplete commands
set showcmd
"indent
filetype plugin indent on
set autoindent
set smartindent
set cindent
set pastetoggle=<F5> set pastetoggle=<F5>
"let mapleader=','
"matching parenthesis
set showmatch
"escape sequence
set ttimeout
set timeout timeoutlen=300
let mapleader=','
" window nav " window nav
nnoremap <leader>w <C-w> nnoremap <leader>w <C-w>