Initial commit

This commit is contained in:
Steins 2018-11-03 12:36:10 +01:00
commit c642761fcf
3 changed files with 65 additions and 0 deletions

9
.netrwhist Normal file
View File

@ -0,0 +1,9 @@
let g:netrw_dirhistmax =10
let g:netrw_dirhist_cnt =7
let g:netrw_dirhist_1='/var/log'
let g:netrw_dirhist_2='/var/log/journal/bd908959bce6457c81006d84ed7c138c'
let g:netrw_dirhist_3='/etc/X11/xorg.conf.d'
let g:netrw_dirhist_4='/home/main'
let g:netrw_dirhist_5='/usr/share/X11/xorg.conf.d'
let g:netrw_dirhist_6='/home/main/AUR/adms/.git'
let g:netrw_dirhist_7='/home/main/AUR/scilab/pkg'

13
README.md Normal file
View File

@ -0,0 +1,13 @@
Installation:
git clone git://github.com/nelstrom/dotvim.git ~/.vim
Create symlinks:
ln -s ~/.vim/vimrc ~/vimrc
Switch to the `~/.vim` directory, and fetch submodules:
cd ~/.vim
git submodule init
git submodule update

43
vimrc Normal file
View File

@ -0,0 +1,43 @@
set backspace=indent,eol,start
" parametres
" detection du type de fichier
filetype on
"numeros de lignes
set number
"coloration
set background=dark
syntax on
set cursorline
"divers
set tabstop=4
set shiftwidth=4
set shiftround
set ruler
set nocompatible
"commandes incompletes
set showcmd
"indentation
filetype plugin indent on
set autoindent
set smartindent
set cindent
set pastetoggle=<F5>
"parenthèse suivante
set showmatch
"mapping
nmap <silent> <A-Up> :wincmd k<CR>
nmap <silent> <A-Down> :wincmd j<CR>
nmap <silent> <A-Left> :wincmd h<CR>
nmap <silent> <A-Right> :wincmd l<CR>
"escape sequence
:set timeout timeoutlen=100