mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-24 04:21:26 -05:00
Compare commits
No commits in common. "b28082ef68953526bd4fead45c9e339dc977a34f" and "dd4ae335e99504c73d3d3dbcd58eb8e07d0c8c57" have entirely different histories.
b28082ef68
...
dd4ae335e9
7 changed files with 20 additions and 6 deletions
6
.gitmodules
vendored
6
.gitmodules
vendored
|
@ -22,6 +22,12 @@
|
||||||
[submodule "vim/bundle/tabular"]
|
[submodule "vim/bundle/tabular"]
|
||||||
path = vim/bundle/tabular
|
path = vim/bundle/tabular
|
||||||
url = https://github.com/godlygeek/tabular
|
url = https://github.com/godlygeek/tabular
|
||||||
|
[submodule "vim/bundle/ReplaceWithRegister"]
|
||||||
|
path = vim/bundle/ReplaceWithRegister
|
||||||
|
url = https://github.com/prurigro/ReplaceWithRegister.git
|
||||||
|
[submodule "vim/bundle/editorconfig-vim"]
|
||||||
|
path = vim/bundle/editorconfig-vim
|
||||||
|
url = https://github.com/editorconfig/editorconfig-vim
|
||||||
[submodule "vim/bundle/splitjoin.vim"]
|
[submodule "vim/bundle/splitjoin.vim"]
|
||||||
path = vim/bundle/splitjoin.vim
|
path = vim/bundle/splitjoin.vim
|
||||||
url = https://github.com/AndrewRadev/splitjoin.vim
|
url = https://github.com/AndrewRadev/splitjoin.vim
|
||||||
|
|
|
@ -25,9 +25,9 @@ A theme, config and collection of plugins for Neovim
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
1. Clone the darkcloud-nvimconfig repo and run the `update` script
|
1. Clone the darkcloud-nvimconfig repo and run the `update` script.
|
||||||
2. By default darkcloud-nvimconfig expects to be installed @ `/etc/darkcloud-nvimconfig`, if you're installing it elsewhere you should add `let g:darkcloudpath = "/path/to/darkcloud-nvimconfig"` to your neovim init
|
2. By default the config expects darkcloud-nvimconfig to be installed @ `/etc/darkcloud-nvimconfig`, if you're installing it elsewhere you should add `let g:darkcloudpath = "/path/to/darkcloud-nvimconfig"` to your neovim init.
|
||||||
3. Add `source /path/to/darkcloud-nvimconfig/init.vim` to your neovim init (after `let g:darkcloudpath = ...` if present)
|
3. Add `source /path/to/darkcloud-nvimconfig/init.vim` to the neovim init that you want to use the config with
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
@ -115,6 +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
|
||||||
|
* [editorconfig-vim](https://github.com/editorconfig/editorconfig-vim): EditorConfig plugin for Vim that auto-configures certain settings when a .editorconfig file is present
|
||||||
* [lightline.vim](https://github.com/itchyny/lightline.vim): A light and configurable statusline/tabline 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
|
||||||
|
@ -130,6 +131,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
|
||||||
|
* [ReplaceWithRegister](https://github.com/vim-scripts/ReplaceWithRegister): Replace text with the contents of a register (for paste+replace without writing over the buffer)
|
||||||
* [splitjoin.vim](https://github.com/AndrewRadev/splitjoin.vim): Simplifies the transition between multiline 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
|
||||||
|
|
1
vim/bundle/ReplaceWithRegister
Submodule
1
vim/bundle/ReplaceWithRegister
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit ae316e25ddb1b33feb644afc2c29c4f48653b55d
|
1
vim/bundle/editorconfig-vim
Submodule
1
vim/bundle/editorconfig-vim
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 0956bc257ca4eaa3e087e0ba2253a3e980805820
|
|
@ -1 +1 @@
|
||||||
Subproject commit bb3dd60ebcf6f75f73f39c44724b4a426ece6b7b
|
Subproject commit f87882858438834d2fbb6379aa2be37de901751b
|
|
@ -1 +1 @@
|
||||||
Subproject commit 8d4e8d45385c63a0bf735fe1164772116bf0da0d
|
Subproject commit 41beedabc7e948c787ea5696e04c3544c3674e23
|
|
@ -93,6 +93,7 @@
|
||||||
" <Leader>p | (N) -> view the paste buffers and register contents
|
" <Leader>p | (N) -> view the paste buffers and register contents
|
||||||
" P | (V) -> save selection to the buffer and paste over
|
" P | (V) -> save selection to the buffer and paste over
|
||||||
" p | (V) -> preserve the buffer pasting over selected text
|
" p | (V) -> preserve the buffer pasting over selected text
|
||||||
|
" Y | (N) -> copy to the end of the line
|
||||||
"
|
"
|
||||||
" (delete/cut operations that don't replace the paste buffer)
|
" (delete/cut operations that don't replace the paste buffer)
|
||||||
" <Leader>x | (N) -> delete the char(s) under and the cursor
|
" <Leader>x | (N) -> delete the char(s) under and the cursor
|
||||||
|
@ -440,7 +441,10 @@
|
||||||
|
|
||||||
"P pastes and replaces the buffer, p pastes and keeps it
|
"P pastes and replaces the buffer, p pastes and keeps it
|
||||||
vnoremap P p
|
vnoremap P p
|
||||||
vnoremap p P
|
xmap p <Plug>ReplaceWithRegisterVisual
|
||||||
|
|
||||||
|
"copy to the end of the line
|
||||||
|
nnoremap Y vg_y
|
||||||
|
|
||||||
"delete/cut operations that don't replace the paste buffer
|
"delete/cut operations that don't replace the paste buffer
|
||||||
nnoremap <Leader>x "_x
|
nnoremap <Leader>x "_x
|
||||||
|
|
Loading…
Reference in a new issue