mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-28 22:08:12 +02:00
added a bunch of new stuff
This commit is contained in:
parent
1fd9fb4c48
commit
d45de4d2ec
4 changed files with 39 additions and 7 deletions
|
@ -84,10 +84,7 @@ Explainations and installation instrucion can be found on my blog
|
||||||
- People asked about vimwiki I kinda hate it but maybe I'll add it
|
- People asked about vimwiki I kinda hate it but maybe I'll add it
|
||||||
- try this out https://github.com/asvetliakov/vim-easymotion
|
- try this out https://github.com/asvetliakov/vim-easymotion
|
||||||
- update startify
|
- update startify
|
||||||
- goyo zen mode
|
|
||||||
- float term lazy git
|
- float term lazy git
|
||||||
- vim-repeat
|
|
||||||
- spectre, or async task/run
|
- spectre, or async task/run
|
||||||
- setup custom paths
|
- setup custom paths
|
||||||
- install script envsubst is your friend
|
- install script envsubst is your friend
|
||||||
- vim radical sounds cool
|
|
||||||
|
|
5
init.vim
5
init.vim
|
@ -10,7 +10,8 @@ source $HOME/.config/nvim/vim-plug/plugins.vim
|
||||||
source $HOME/.config/nvim/general/settings.vim
|
source $HOME/.config/nvim/general/settings.vim
|
||||||
source $HOME/.config/nvim/keys/mappings.vim
|
source $HOME/.config/nvim/keys/mappings.vim
|
||||||
source $HOME/.config/nvim/general/paths.vim
|
source $HOME/.config/nvim/general/paths.vim
|
||||||
source $HOME/.config/nvim/plug-config/sneak.vim
|
source $HOME/.config/nvim/plug-config/easymotion.vim
|
||||||
|
source $HOME/.config/nvim/plug-config/quickscope.vim
|
||||||
|
|
||||||
" Source depending on if VSCode is our client
|
" Source depending on if VSCode is our client
|
||||||
if exists('g:vscode')
|
if exists('g:vscode')
|
||||||
|
@ -21,10 +22,10 @@ else
|
||||||
source $HOME/.config/nvim/themes/syntax.vim
|
source $HOME/.config/nvim/themes/syntax.vim
|
||||||
source $HOME/.config/nvim/themes/onedark.vim
|
source $HOME/.config/nvim/themes/onedark.vim
|
||||||
source $HOME/.config/nvim/themes/airline.vim
|
source $HOME/.config/nvim/themes/airline.vim
|
||||||
source $HOME/.config/nvim/plug-config/coc.vim
|
|
||||||
source $HOME/.config/nvim/plug-config/rnvimr.vim
|
source $HOME/.config/nvim/plug-config/rnvimr.vim
|
||||||
source $HOME/.config/nvim/plug-config/fzf.vim
|
source $HOME/.config/nvim/plug-config/fzf.vim
|
||||||
source $HOME/.config/nvim/plug-config/commentary.vim
|
source $HOME/.config/nvim/plug-config/commentary.vim
|
||||||
source $HOME/.config/nvim/plug-config/rainbow.vim
|
source $HOME/.config/nvim/plug-config/rainbow.vim
|
||||||
lua require'plug-colorizer'
|
lua require'plug-colorizer'
|
||||||
|
source $HOME/.config/nvim/plug-config/coc.vim
|
||||||
endif
|
endif
|
||||||
|
|
16
plug-config/easymotion.vim
Normal file
16
plug-config/easymotion.vim
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
let g:EasyMotion_do_mapping = 0 " Disable default mappings
|
||||||
|
|
||||||
|
" Jump to anywhere you want with minimal keystrokes, with just one key binding.
|
||||||
|
" `s{char}{label}`
|
||||||
|
nmap s <Plug>(easymotion-overwin-f)
|
||||||
|
" or
|
||||||
|
" `s{char}{char}{label}`
|
||||||
|
" Need one more keystroke, but on average, it may be more comfortable.
|
||||||
|
nmap s <Plug>(easymotion-overwin-f2)
|
||||||
|
|
||||||
|
" Turn on case-insensitive feature
|
||||||
|
let g:EasyMotion_smartcase = 1
|
||||||
|
|
||||||
|
" JK motions: Line motions
|
||||||
|
map <Leader>j <Plug>(easymotion-j)
|
||||||
|
map <Leader>k <Plug>(easymotion-k)
|
|
@ -9,10 +9,11 @@ endif
|
||||||
call plug#begin('~/.config/nvim/autoload/plugged')
|
call plug#begin('~/.config/nvim/autoload/plugged')
|
||||||
|
|
||||||
" Text Navigation
|
" Text Navigation
|
||||||
Plug 'justinmk/vim-sneak'
|
" Plug 'justinmk/vim-sneak'
|
||||||
Plug 'unblevable/quick-scope'
|
Plug 'unblevable/quick-scope'
|
||||||
" Change dates fast
|
" Change dates fast
|
||||||
Plug 'tpope/vim-speeddating'
|
Plug 'tpope/vim-speeddating'
|
||||||
|
Plug 'asvetliakov/vim-easymotion'
|
||||||
|
|
||||||
if !exists('g:vscode')
|
if !exists('g:vscode')
|
||||||
" Better Syntax Support
|
" Better Syntax Support
|
||||||
|
@ -40,6 +41,8 @@ call plug#begin('~/.config/nvim/autoload/plugged')
|
||||||
Plug 'junegunn/rainbow_parentheses.vim'
|
Plug 'junegunn/rainbow_parentheses.vim'
|
||||||
" Git
|
" Git
|
||||||
Plug 'airblade/vim-gitgutter'
|
Plug 'airblade/vim-gitgutter'
|
||||||
|
Plug 'tpope/vim-fugitive'
|
||||||
|
Plug 'junegunn/gv.vim'
|
||||||
" Terminal
|
" Terminal
|
||||||
Plug 'voldikss/vim-floaterm'
|
Plug 'voldikss/vim-floaterm'
|
||||||
" Start Screen
|
" Start Screen
|
||||||
|
@ -48,7 +51,22 @@ call plug#begin('~/.config/nvim/autoload/plugged')
|
||||||
Plug 'tpope/vim-surround'
|
Plug 'tpope/vim-surround'
|
||||||
" Vista
|
" Vista
|
||||||
Plug 'liuchengxu/vista.vim'
|
Plug 'liuchengxu/vista.vim'
|
||||||
"
|
" Files
|
||||||
|
Plug 'tpope/vim-eunuch'
|
||||||
|
" Help
|
||||||
|
Plug 'liuchengxu/vim-which-key'
|
||||||
|
" Zen mode
|
||||||
|
Plug 'junegunn/goyo.vim'
|
||||||
|
" Repeat stuff
|
||||||
|
Plug 'tpope/vim-repeat'
|
||||||
|
" Convert binary, hex, etc..
|
||||||
|
Plug 'glts/vim-radical'
|
||||||
|
" Making stuff
|
||||||
|
Plug 'neomake/neomake'
|
||||||
|
" Snippets TODO fix TAB hijack
|
||||||
|
" Plug 'SirVer/ultisnips'
|
||||||
|
" Better Comments
|
||||||
|
Plug 'jbgutierrez/vim-better-comments'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue