From f872a604311264eeb16b9983a4219d7bd9cfd84d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Luk=C3=A1=C5=A1=20Ji=C5=99i=C5=A1t=C4=9B?= Date: Mon, 13 May 2024 22:30:44 +0200 Subject: [PATCH 1/1] Add .vimrc This repository may not become very useful but I want the vimrc file and this seems reasonable. --- vim/.vimrc | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 vim/.vimrc 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 -- 2.30.2