From: Lukáš Jiřiště Date: Sun, 25 Jan 2026 14:28:57 +0000 (+0100) Subject: Add set colorscheme, textwidth, wildmenu, vimwiki X-Git-Url: https://git.ljiriste.work/?a=commitdiff_plain;h=c61ecc826836b796dbb51598916ca0a0b18b17ee;p=dotfiles.git Add set colorscheme, textwidth, wildmenu, vimwiki Colorscheme for unified colors. Textwidth causes more problems than it solves. Particularly nasty in configs, maybe would be better to specify for source code. --- diff --git a/vim/.vimrc b/vim/.vimrc index 7748a0e..6566246 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -1,11 +1,15 @@ -"" Plugins will be downloaded under the specified directory. -"" The Plugin manager project is on https://github.com/junegunn/vim-plug -"call plug#begin(has('nvim') ? stdpath('data') . '/plugged' : '~/.vim/plugged') -" -"Plug 'vim-latex/vim-latex' -" -"" List ends here. Plugins become visible to Vim after this call. -"call plug#end() +" Plugins will be downloaded under the specified directory. +" The Plugin manager project is on https://github.com/junegunn/vim-plug +call plug#begin(has('nvim') ? stdpath('data') . '/plugged' : '~/.vim/plugged') + +" Declare the list of plugins. + +Plug 'vim-latex/vim-latex' + +Plug 'vimwiki/vimwiki' + +" List ends here. Plugins become visible to Vim after this call. +call plug#end() " May be useful for vim-latex? let g:tex_flavor='latex' @@ -13,19 +17,27 @@ let g:tex_flavor='latex' set nocompatible set tabstop=4 set shiftwidth=0 -set textwidth=80 set number relativenumber set incsearch set autoindent set splitright +colorscheme desert set belloff=all +" Add visual menu + +set wildmode=longest:full,full +set wildmenu + " Add every subfolder of the vim root folder to path for find command set path+=** -" Add visual menu -set wildmenu +" Source the vimwiki wikis if there are any +try + source ~/.vimwiki_list +catch +endtry syntax on filetype plugin indent on " redundant after syntax on