From: Lukáš Jiřiště Date: Mon, 13 May 2024 20:30:44 +0000 (+0200) Subject: Add .vimrc X-Git-Url: https://git.ljiriste.work/?a=commitdiff_plain;h=f872a604311264eeb16b9983a4219d7bd9cfd84d;p=dotfiles.git Add .vimrc This repository may not become very useful but I want the vimrc file and this seems reasonable. --- f872a604311264eeb16b9983a4219d7bd9cfd84d diff --git a/vim/.vimrc b/vim/.vimrc new file mode 100644 index 0000000..99a32c1 --- /dev/null +++ b/vim/.vimrc @@ -0,0 +1,29 @@ +" Plugins will be downloaded under the specified directory. +call plug#begin(has('nvim') ? stdpath('data') . '/plugged' : '~/.vim/plugged') + +" Declare the list of plugins. +" 42 Header on F1 +Plug 'https://github.com/42Paris/42header' + +" List ends here. Plugins become visible to Vim after this call. +call plug#end() + +" Defining name and email for the 42 header +let g:user42 = 'ljiriste' +let g:mail42 = 'ljiriste@student.42prague.com' + +set nocompatible +set tabstop=4 +set shiftwidth=0 +set number relativenumber +set incsearch +set autoindent +syntax on +" filetype plugin indent on " redundant after syntax on +set splitright + +" Add every subfolder of the vim root folder to path for find command +set path+=** + +" Add visual menu +set wildmenu