Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DotFiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antoine Marteau
DotFiles
Commits
28530826
Commit
28530826
authored
4 years ago
by
Antoine Marteau
Browse files
Options
Downloads
Patches
Plain Diff
init
parents
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
init.vim
+52
-0
52 additions, 0 deletions
init.vim
with
53 additions
and
0 deletions
.gitignore
0 → 100644
+
1
−
0
View file @
28530826
./plugged
This diff is collapsed.
Click to expand it.
init.vim
0 → 100644
+
52
−
0
View file @
28530826
set
noerrorbells
set
tabstop
=
4
softtabstop
=
4
set
shiftwidth
=
4
set
expandtab
set
smartindent
set
nu
set
relativenumber
set
nowrap
set
smartcase
set
nobackup
set
incsearch
set
colorcolumn
=
80
highlight
ColorColumn ctermbg
=
0
guibg
=
lightgrey
autocmd
BufNewFile
,
BufReadPost
*
.
pro
set
filetype
=
cpp
"Pugins
call
plug#begin
(
'~/.config/nvim/plugged'
)
Plug
'vim-airline/vim-airline'
" status bar
(
needs special fonts
)
Plug
'ryanoasis/vim-devicons'
" various symbols
(
linux
,
rust
,
python
,
...)
Plug
'gruvbox-community/gruvbox'
Plug
'ThePrimeagen/vim-be-good'
call
plug#end
()
colorscheme
gruvbox
let
g:airline_powerline_fonts
=
1
let
g:airline
#extensions#ale#enabled
=
1
"desactive les flèches directionelles
noremap
<
Up
>
<
nop
>
inoremap
<
Up
>
<
nop
>
noremap
<
Down
>
<
nop
>
inoremap
<
Down
>
<
nop
>
noremap
<
Right
>
<
nop
>
inoremap
<
Right
>
<
nop
>
noremap
<
Left
>
<
nop
>
inoremap
<
Left
>
<
nop
>
"Normal mode dans terminal
tnoremap
<
A
-
q
>
<
C
-
\
><
C
-
n
>
"LeaderKey
let
mapleader
=
" "
nnoremap
<
leader
>
h
:
wincmd
h
<
CR
>
nnoremap
<
leader
>
j
:
wincmd
j
<
CR
>
nnoremap
<
leader
>
k
:
wincmd
k
<
CR
>
nnoremap
<
leader
>
l
:
wincmd
l
<
CR
>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment