From cbe62985b7b9c0e6ec3df0bb4915ea94459a5791 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerardo=20Marx=20Ch=C3=A1vez-Campos?= Date: Tue, 20 Sep 2022 14:20:22 +0000 Subject: [PATCH] basic confic for vim --- README.md | 46 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d5107af..59de935 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,47 @@ # vim-config-latex -A basic configuration file to work with Vim and LaTeX \ No newline at end of file +A basic configuration file to work with Vim and LaTeX + +# Installing Vim-Plug + +``` +curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim +``` + +# Configuration + +``` +" ------------------ +" __ +" .--.--.|__|.--------.----.----. +" | | || || | _| __| +" \___/ |__||__|__|__|__| |____| +" ------------------ + " +" Basic settings +" -------------- +set nocompatible +filetype plugin indent on +syntax enable + +set number relativenumber +set path+=** +set wildmode=longest,list,full +set encoding=UTF-8 +set cursorline +set showmatch " matching brackets +set linebreak +set ignorecase " case insensitive matching +set smartcase " smart case matching +"set clipboard+=unnamedplus +set mouse=a +set tabstop=4 +set shiftwidth=4 +set softtabstop=4 +set spelllang=en_us +set fillchars+=eob:~ +set showtabline=2 +set laststatus=2 +" ------------------ + +```