mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-24 04:21:26 -05:00
Compare commits
No commits in common. "a816ebe15cfa10d6b60ac5084f0a1a32ba60938b" and "b28082ef68953526bd4fead45c9e339dc977a34f" have entirely different histories.
a816ebe15c
...
b28082ef68
8 changed files with 38 additions and 32 deletions
|
@ -36,7 +36,7 @@ A theme, config and collection of plugins for Neovim
|
||||||
* `g:enabletreesitter`: **1** = Use treesitter for compatible files | **0** = Keep treesitter disabled (default: **0**)
|
* `g:enabletreesitter`: **1** = Use treesitter for compatible files | **0** = Keep treesitter disabled (default: **0**)
|
||||||
* `g:enablecompletion`: **1** = Enable autocompletion | **0** = Disable autocompletion (default: **0**)
|
* `g:enablecompletion`: **1** = Enable autocompletion | **0** = Disable autocompletion (default: **0**)
|
||||||
* `g:enableautotags`: **1** = Automatically generate tags files | **0** = Disable tag generation (default: **0**)
|
* `g:enableautotags`: **1** = Automatically generate tags files | **0** = Disable tag generation (default: **0**)
|
||||||
* `g:enablepowerline`: **1** = Render the status line using characters that require powerline-patched fonts | **0** = Render the status line with characters that work with all fonts (default: **0**)
|
* `g:enablepowerline`: **1** = Render the statusline using characters that require powerline-patched fonts | **0** = Render the statusbar with characters that work with all fonts (default: **0**)
|
||||||
* **Custom Plugins**: Pathogen compatible plugins can be cloned or extracted to `local/bundle/`, or a folder named `bundle` in any of the folders in the runtimepath
|
* **Custom Plugins**: Pathogen compatible plugins can be cloned or extracted to `local/bundle/`, or a folder named `bundle` in any of the folders in the runtimepath
|
||||||
* **Update Script**: (requires: bash+git) Use the `update` script to update the project and submodules, as well as handle any required maintenance
|
* **Update Script**: (requires: bash+git) Use the `update` script to update the project and submodules, as well as handle any required maintenance
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ For a complete list of mappings specific to **darkcloud-nvimconfig**, check the
|
||||||
* [ale](https://github.com/w0rp/ale): Asynchronous Lint Engine
|
* [ale](https://github.com/w0rp/ale): Asynchronous Lint Engine
|
||||||
* [Comment.nvim](https://github.com/numToStr/Comment.nvim): Smart and Powerful commenting plugin for neovim
|
* [Comment.nvim](https://github.com/numToStr/Comment.nvim): Smart and Powerful commenting plugin for neovim
|
||||||
* [nvim-ts-context-commentstring](https://github.com/JoosepAlviste/nvim-ts-context-commentstring): A Neovim plugin for setting the commentstring option based on the cursor location in the file. The location is checked via treesitter queries
|
* [nvim-ts-context-commentstring](https://github.com/JoosepAlviste/nvim-ts-context-commentstring): A Neovim plugin for setting the commentstring option based on the cursor location in the file. The location is checked via treesitter queries
|
||||||
* [lightline.vim](https://github.com/itchyny/lightline.vim): A light and configurable statusline/tabline plugin for Vim
|
* [lightline.vim](https://github.com/itchyny/lightline.vim): A light and configurable statusline/tabline for Vim
|
||||||
* [lightline-ale](https://github.com/maximbaz/lightline-ale): Provides ALE indicator for the lightline vim plugin
|
* [lightline-ale](https://github.com/maximbaz/lightline-ale): Provides ALE indicator for the lightline vim plugin
|
||||||
* [nvim-cmp](https://github.com/hrsh7th/nvim-cmp): A completion engine plugin for neovim written in Lua
|
* [nvim-cmp](https://github.com/hrsh7th/nvim-cmp): A completion engine plugin for neovim written in Lua
|
||||||
* [cmp-async-path](https://codeberg.org/FelipeLema/cmp-async-path): Async filesystem path source for nvim-cmp
|
* [cmp-async-path](https://codeberg.org/FelipeLema/cmp-async-path): Async filesystem path source for nvim-cmp
|
||||||
|
@ -130,7 +130,7 @@ For a complete list of mappings specific to **darkcloud-nvimconfig**, check the
|
||||||
* [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter): Treesitter configurations and abstraction layer for Neovim
|
* [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter): Treesitter configurations and abstraction layer for Neovim
|
||||||
* [nvim-treesitter-textobjects](https://github.com/nvim-treesitter/nvim-treesitter-textobjects): Syntax aware text-objects, select, move, swap, and peek support
|
* [nvim-treesitter-textobjects](https://github.com/nvim-treesitter/nvim-treesitter-textobjects): Syntax aware text-objects, select, move, swap, and peek support
|
||||||
* [qf.nvim](https://github.com/ten3roberts/qf.nvim): Extends the default quickfix and location lists for neovim
|
* [qf.nvim](https://github.com/ten3roberts/qf.nvim): Extends the default quickfix and location lists for neovim
|
||||||
* [splitjoin.vim](https://github.com/AndrewRadev/splitjoin.vim): Simplifies the transition between multi-line and single-line code
|
* [splitjoin.vim](https://github.com/AndrewRadev/splitjoin.vim): Simplifies the transition between multiline and single-line code
|
||||||
* [tabular](https://github.com/godlygeek/tabular): Vim script for text filtering and alignment
|
* [tabular](https://github.com/godlygeek/tabular): Vim script for text filtering and alignment
|
||||||
* [vim-fugitive](https://github.com/tpope/vim-fugitive): A wrapper integrating git into vim in such a way as to provide features neither of them could offer on their own
|
* [vim-fugitive](https://github.com/tpope/vim-fugitive): A wrapper integrating git into vim in such a way as to provide features neither of them could offer on their own
|
||||||
* [vim-gutentags](https://github.com/xolox/vim-easytags): A plugin that takes care of the much needed management of tags files in Vim
|
* [vim-gutentags](https://github.com/xolox/vim-easytags): A plugin that takes care of the much needed management of tags files in Vim
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 03f650705c0c10f97b214ca4ecca3c25ff9bee7d
|
Subproject commit bb3dd60ebcf6f75f73f39c44724b4a426ece6b7b
|
|
@ -1 +1 @@
|
||||||
Subproject commit 9b0c30f61f13ba4800a11107648bdd748ad511ba
|
Subproject commit 1aa617d15a9904107a68f95ebf5036b7d4abf64d
|
|
@ -1 +1 @@
|
||||||
Subproject commit d54a9087879ed813801041d3d51d70987c502796
|
Subproject commit 635ad3d1a29619036014a8feca226356767e5fca
|
|
@ -49,8 +49,8 @@ endfun
|
||||||
"SYNTAX COLORS:
|
"SYNTAX COLORS:
|
||||||
|
|
||||||
"SPELL CHECKING UNDERLINE: {{{
|
"SPELL CHECKING UNDERLINE: {{{
|
||||||
call s:C("SpellBad",g:cRed,"","italic,undercurl")
|
call s:C("SpellBad","","","italic,underline")
|
||||||
call s:C("SpellCap",g:cYellow,"","italic,undercurl")
|
call s:C("SpellCap","","","italic,underline")
|
||||||
call s:C("SpellRare","","","")
|
call s:C("SpellRare","","","")
|
||||||
call s:C("SpellLocal","","","")
|
call s:C("SpellLocal","","","")
|
||||||
"}}}
|
"}}}
|
||||||
|
|
|
@ -14,7 +14,7 @@ if !exists('g:loaded_matchit') && findfile('plugin/matchit.vim', &rtp) ==# ''
|
||||||
runtime! macros/matchit.vim
|
runtime! macros/matchit.vim
|
||||||
endif
|
endif
|
||||||
|
|
||||||
"enable omni-completion for any file type without that has syntax highlighting
|
"enable omnicompletion for any filetype without that has syntax highlighting
|
||||||
if exists("+omnifunc")
|
if exists("+omnifunc")
|
||||||
autocmd VimEnter,Filetype * if &omnifunc == ""|setlocal omnifunc=syntaxcomplete#Complete|endif
|
autocmd VimEnter,Filetype * if &omnifunc == ""|setlocal omnifunc=syntaxcomplete#Complete|endif
|
||||||
endif
|
endif
|
||||||
|
@ -22,7 +22,7 @@ endif
|
||||||
"prevent warnings when changing read-only files
|
"prevent warnings when changing read-only files
|
||||||
autocmd FileChangedRO * nested set noreadonly
|
autocmd FileChangedRO * nested set noreadonly
|
||||||
|
|
||||||
"FILE TYPE AND SYNTAX: {{{
|
"FILETPE AND SYNTAX: {{{
|
||||||
"enable more accurate syntax synchronization
|
"enable more accurate syntax synchronization
|
||||||
autocmd BufEnter * :syntax sync fromstart
|
autocmd BufEnter * :syntax sync fromstart
|
||||||
|
|
||||||
|
|
|
@ -32,6 +32,8 @@
|
||||||
" <Ctrl-Alt-RightClick> | (A) -> paste at the cursor (not mouse)
|
" <Ctrl-Alt-RightClick> | (A) -> paste at the cursor (not mouse)
|
||||||
" <Ctrl-Alt-MiddleClick> | (A) -> paste at the cursor (not mouse)
|
" <Ctrl-Alt-MiddleClick> | (A) -> paste at the cursor (not mouse)
|
||||||
"
|
"
|
||||||
|
" <Shift-MiddleClick> | (A) -> paste from xorg paste buffer
|
||||||
|
"
|
||||||
" (terminal)
|
" (terminal)
|
||||||
" <Esc> | (T) -> leave edit mode
|
" <Esc> | (T) -> leave edit mode
|
||||||
"
|
"
|
||||||
|
@ -64,7 +66,7 @@
|
||||||
" ik | (N) -> add cursor character as a keyword
|
" ik | (N) -> add cursor character as a keyword
|
||||||
" iK | (N) -> remove cursor character as a keyword
|
" iK | (N) -> remove cursor character as a keyword
|
||||||
"
|
"
|
||||||
" ~ | (N) -> pop-up a command reference
|
" ~ | (N) -> popup a command reference
|
||||||
" <Leader><F1> | (N) -> toggle the vim reference manual
|
" <Leader><F1> | (N) -> toggle the vim reference manual
|
||||||
" ` | (A) -> toggle the gutter(numbers+folds+signify)
|
" ` | (A) -> toggle the gutter(numbers+folds+signify)
|
||||||
"
|
"
|
||||||
|
@ -114,8 +116,8 @@
|
||||||
" <Leader>w | (N) -> remove whitespace
|
" <Leader>w | (N) -> remove whitespace
|
||||||
" <Tab> | (V) -> indent all the lines currently selected
|
" <Tab> | (V) -> indent all the lines currently selected
|
||||||
" <Tab> | (N) -> indent the current line
|
" <Tab> | (N) -> indent the current line
|
||||||
" <Shift-Tab> | (V) -> unindent all the lines currently selected
|
" <Shift-Tab> | (V) -> un-indent all the lines currently selected
|
||||||
" <Shift-Tab> | (N) -> unindent the current line
|
" <Shift-Tab> | (N) -> un-indent the current line
|
||||||
" [<Space> | (N) -> insert a blank line above the current one
|
" [<Space> | (N) -> insert a blank line above the current one
|
||||||
" ]<Space> | (N) -> insert a blank line below the current one
|
" ]<Space> | (N) -> insert a blank line below the current one
|
||||||
"
|
"
|
||||||
|
@ -212,7 +214,7 @@
|
||||||
nnoremap <S-k> <Nop>
|
nnoremap <S-k> <Nop>
|
||||||
"}}}
|
"}}}
|
||||||
|
|
||||||
"MAPPINGS: GENERAL KEYBINDINGS AND REBINDING {{{
|
"MAPPINGS: GENERAL KEYBINDINGS AND REBINDINGS {{{
|
||||||
"MOUSE:{
|
"MOUSE:{
|
||||||
"hold ctrl to scroll left/right instead of up/down
|
"hold ctrl to scroll left/right instead of up/down
|
||||||
noremap <C-ScrollWheelUp> 4zh
|
noremap <C-ScrollWheelUp> 4zh
|
||||||
|
@ -322,6 +324,10 @@
|
||||||
snoremap <C-A-MiddleMouse> p
|
snoremap <C-A-MiddleMouse> p
|
||||||
vnoremap <C-A-MiddleMouse> p
|
vnoremap <C-A-MiddleMouse> p
|
||||||
inoremap <C-A-MiddleMouse> <C-O>p
|
inoremap <C-A-MiddleMouse> <C-O>p
|
||||||
|
|
||||||
|
"configure middle click to paste from X
|
||||||
|
noremap <S-Insert> <MiddleMouse>
|
||||||
|
noremap! <S-Insert> <MiddleMouse>
|
||||||
"}
|
"}
|
||||||
|
|
||||||
"TERMINAL:{
|
"TERMINAL:{
|
||||||
|
@ -371,7 +377,7 @@
|
||||||
"toggle the display of the left gutter
|
"toggle the display of the left gutter
|
||||||
nnoremap <silent><expr> ` ':if (&number)<Bar>set nonumber<Bar>if exists("b:sy")<Bar>SignifyDisable<Bar>endif<Bar>else<Bar>set number<Bar>if exists("b:sy")<Bar>SignifyEnable<Bar>endif<Bar>endif<CR>:echo "gutter visibility toggled"<CR>'
|
nnoremap <silent><expr> ` ':if (&number)<Bar>set nonumber<Bar>if exists("b:sy")<Bar>SignifyDisable<Bar>endif<Bar>else<Bar>set number<Bar>if exists("b:sy")<Bar>SignifyEnable<Bar>endif<Bar>endif<CR>:echo "gutter visibility toggled"<CR>'
|
||||||
|
|
||||||
"toggle folded code at fold-points
|
"toggle folded code at foldpoints
|
||||||
nnoremap <Space><Space> za
|
nnoremap <Space><Space> za
|
||||||
|
|
||||||
"toggle line wrapping (and bottom bar if using the gui)
|
"toggle line wrapping (and bottom bar if using the gui)
|
||||||
|
@ -415,16 +421,16 @@
|
||||||
"}
|
"}
|
||||||
|
|
||||||
"SPELLCHECK:{
|
"SPELLCHECK:{
|
||||||
"add the selected misspelled word to the local dictionary
|
"add the selected mispelled word to the local dictionary
|
||||||
nnoremap ?+ zg
|
nnoremap ?+ zg
|
||||||
|
|
||||||
"display a list of suggestions for the selected misspelled word
|
"display a list of suggestions for the selected mispelled word
|
||||||
nnoremap ?? hea<C-X>s
|
nnoremap ?? hea<C-X>s
|
||||||
|
|
||||||
"go to the next misspelled word
|
"go to the next mispelled word
|
||||||
nnoremap ?N ]s
|
nnoremap ?N ]s
|
||||||
|
|
||||||
"go to the previous misspelled word
|
"go to the previous mispelled word
|
||||||
nnoremap ?P [s
|
nnoremap ?P [s
|
||||||
"}
|
"}
|
||||||
|
|
||||||
|
@ -467,7 +473,7 @@
|
||||||
"remove trailing whitespace
|
"remove trailing whitespace
|
||||||
nnoremap <silent><expr> <Leader>w ':FixWhitespace<CR>:echo "Trailing whitespace has been removed"<CR>'
|
nnoremap <silent><expr> <Leader>w ':FixWhitespace<CR>:echo "Trailing whitespace has been removed"<CR>'
|
||||||
|
|
||||||
"indent and unindent the currently selected lines
|
"tab and untab the currently selected lines
|
||||||
vnoremap <Tab> >gv
|
vnoremap <Tab> >gv
|
||||||
nnoremap <Tab> v>gv<Esc>
|
nnoremap <Tab> v>gv<Esc>
|
||||||
vnoremap <S-Tab> <gv
|
vnoremap <S-Tab> <gv
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
set nocompatible "disable vi-compatibility settings
|
set nocompatible "disable vi-compatibility settings
|
||||||
set backspace=indent,eol,start "enables/configures standard backspace behaviour
|
set backspace=indent,eol,start "enables/configures standard backspace behaviour
|
||||||
|
|
||||||
"use the '*' register as well as the '+' register if it's available too
|
"use the '*' register as well as the the '+' register if it's available too
|
||||||
set clipboard=unnamed
|
set clipboard=unnamed
|
||||||
|
|
||||||
if has('unnamedplus')
|
if has('unnamedplus')
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
if $TERM =~ '^linux$'|set t_Co=8|elseif !has("gui_running")|set t_Co=256|endif
|
if $TERM =~ '^linux$'|set t_Co=8|elseif !has("gui_running")|set t_Co=256|endif
|
||||||
set ttyfast "assume a fast connection to the terminal for better rendering
|
set ttyfast "assume a fast connection to the terminal for better rendering
|
||||||
|
|
||||||
"configure to primarily use utf-8
|
"configure to primarily use utf8
|
||||||
if has("multi_byte")
|
if has("multi_byte")
|
||||||
if &termencoding == ""
|
if &termencoding == ""
|
||||||
let &termencoding = &encoding
|
let &termencoding = &encoding
|
||||||
|
|
Loading…
Reference in a new issue