summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-02-08 21:52:00 -0600
committerzachir <zachir@librem.one>2024-02-08 22:04:10 -0600
commit1802af2caf8f26820a8c0dfa3149fbfe82afe4c3 (patch)
tree47dd12aac0823a6bdf589a4d16d1ba54e2d75dc9
parent4f070005de1e8de35a66fe4679a478b6c4001a2e (diff)
nvim: reorganize init.vim to have better comment alignment
This is purely for my OCD.
-rw-r--r--nvim/init.vim60
1 files changed, 30 insertions, 30 deletions
diff --git a/nvim/init.vim b/nvim/init.vim
index 1f877ed..211452e 100644
--- a/nvim/init.vim
+++ b/nvim/init.vim
@@ -1,34 +1,34 @@
" vimplugs {{{
call plug#begin('~/.config/nvim/plugged')
" colorschemes {{{
-Plug 'tomasiser/vim-code-dark' " codedark color scheme
-Plug 'flazz/vim-colorschemes' " meta-color scheme package
-Plug 'ZachIndigo/vim-preglow' " my old color scheme
+Plug 'tomasiser/vim-code-dark' " codedark color scheme
+Plug 'flazz/vim-colorschemes' " meta-color scheme package
+Plug 'ZachIndigo/vim-preglow' " my old color scheme
" }}}
" language support {{{
-Plug 'axvr/org.vim' " basic org markup language implementation
-Plug 'ziglang/zig.vim' " zig programming language
-Plug 'jdonaldson/vaxe' " haxe programming language
+Plug 'axvr/org.vim' " basic org markup language implementation
+Plug 'ziglang/zig.vim' " zig programming language
+Plug 'jdonaldson/vaxe' " haxe programming language
Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' } " latex live preview support
-Plug 'waycrate/swhkd-vim' " swhkd syntax highlighting
-Plug 'HiPhish/guile.vim' " guile syntax highlighting
+Plug 'waycrate/swhkd-vim' " swhkd syntax highlighting
+Plug 'HiPhish/guile.vim' " guile syntax highlighting
" }}}
" utility {{{
-Plug 'preservim/nerdtree' " directory tree interface
-Plug 'Xuyuanp/nerdtree-git-plugin' " git status indicator for nerdtree
-Plug 'PhilRunninger/nerdtree-visual-selection' " allows visual selection mode in nerdtree
-Plug 'tpope/vim-fugitive' " git command interface
-Plug 'junegunn/goyo.vim' " simplify the user interface (distraction-free) [BROKEN]
-Plug 'junegunn/limelight.vim' " focus on single paragraph of text at a time
-Plug 'vim-airline/vim-airline' " powerline the vim bottom bar
-Plug 'nathanaelkane/vim-indent-guides' " indent guides for vim
-Plug 'mhinz/vim-signify' " use signs to show diffs
-Plug 'tpope/vim-endwise' " auto end functions/if statements
-Plug 'tpope/vim-surround' " auto close stuff
-Plug 'mattn/emmet-vim' " html css easy formating
-Plug 'godlygeek/tabular' " Needed for vim-markdown
-Plug 'plasticboy/vim-markdown' " Better markdown support
-Plug 'ryanoasis/vim-devicons' " dev icons for nerdtree
+Plug 'preservim/nerdtree' " directory tree interface
+Plug 'Xuyuanp/nerdtree-git-plugin' " git status indicator for nerdtree
+Plug 'PhilRunninger/nerdtree-visual-selection' " allows visual selection mode in nerdtree
+Plug 'tpope/vim-fugitive' " git command interface
+Plug 'junegunn/goyo.vim' " simplify the user interface (distraction-free) [BROKEN]
+Plug 'junegunn/limelight.vim' " focus on single paragraph of text at a time
+Plug 'vim-airline/vim-airline' " powerline the vim bottom bar
+Plug 'nathanaelkane/vim-indent-guides' " indent guides for vim
+Plug 'mhinz/vim-signify' " use signs to show diffs
+Plug 'tpope/vim-endwise' " auto end functions/if statements
+Plug 'tpope/vim-surround' " auto close stuff
+Plug 'mattn/emmet-vim' " html css easy formating
+Plug 'godlygeek/tabular' " Needed for vim-markdown
+Plug 'plasticboy/vim-markdown' " Better markdown support
+Plug 'ryanoasis/vim-devicons' " dev icons for nerdtree
" }}}
call plug#end()
@@ -38,7 +38,7 @@ call plug#end()
"" nvimrc:
"" General
-set showmatch " Highlight matching brace
+set showmatch " Highlight matching brace
set number
set relativenumber
@@ -47,9 +47,9 @@ set relativenumber
"colorscheme SlateDark
colorscheme preglow
-set hlsearch " Highlight all search results
-set smartcase " Enable smart-case search
-set incsearch " Searches for strings incrementally
+set hlsearch " Highlight all search results
+set smartcase " Enable smart-case search
+set incsearch " Searches for strings incrementally
set autoindent " Enable auto-indent
"set smartindent " Enable smart-indent
@@ -60,9 +60,9 @@ set shiftwidth=2 " Number of auto-indent spaces
"" Advanced
-set ruler " Show row and column ruler information
-set undolevels=1000 " Number of undo levels
-set backspace=indent,eol,start " Backspace behaviour
+set ruler " Show row and column ruler information
+set undolevels=1000 " Number of undo levels
+set backspace=indent,eol,start " Backspace behaviour
filetype plugin indent on
"" GUI Config