mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
Compare commits
4 Commits
06d5b3d182
...
6bbc48de9a
Author | SHA1 | Date | |
---|---|---|---|
|
6bbc48de9a | ||
|
d7976d4978 | ||
|
76a4c76b05 | ||
|
8e5be79868 |
@ -75,6 +75,7 @@ A repository of my personal configuration files.
|
|||||||
- [[https://github.com/GeorgeFilipkin/pulsemixer][pulsemixer]]
|
- [[https://github.com/GeorgeFilipkin/pulsemixer][pulsemixer]]
|
||||||
- [[https://www.python.org/][Python]]
|
- [[https://www.python.org/][Python]]
|
||||||
- [[https://github.com/dylanaraps/pywal][pywal]]
|
- [[https://github.com/dylanaraps/pywal][pywal]]
|
||||||
|
- [[https://github.com/BurntSushi/ripgrep][ripgrep]]
|
||||||
- [[https://github.com/Spotifyd/spotifyd][Spotifyd]]
|
- [[https://github.com/Spotifyd/spotifyd][Spotifyd]]
|
||||||
- [[http://www.gnu.org/software/stow/][stow]]
|
- [[http://www.gnu.org/software/stow/][stow]]
|
||||||
- [[https://github.com/muennich/sxiv][sxiv]]
|
- [[https://github.com/muennich/sxiv][sxiv]]
|
||||||
@ -160,9 +161,9 @@ A repository of my personal configuration files.
|
|||||||
*** General
|
*** General
|
||||||
- [[https://github.com/bling/vim-bufferline][bling/vim-bufferline]]
|
- [[https://github.com/bling/vim-bufferline][bling/vim-bufferline]]
|
||||||
- [[https://github.com/ctrlpvim/ctrlp.vim][ctrlp/ctrlp.vim]]
|
- [[https://github.com/ctrlpvim/ctrlp.vim][ctrlp/ctrlp.vim]]
|
||||||
|
- [[https://github.com/easymotion/vim-easymotion][easymotion/vim-easymotion]]
|
||||||
- [[https://github.com/farmergreg/vim-lastplace][farmergreg/vim-lastplace]]
|
- [[https://github.com/farmergreg/vim-lastplace][farmergreg/vim-lastplace]]
|
||||||
-[[https://github.com/junegunn/fzf][ junegunn/fzf]]
|
- [[https://github.com/junegunn/fzf.vim][junegunn/fzf.vim]]
|
||||||
- [[https://github.com/justinmk/vim-sneak][justinmk/vim-sneak]]
|
|
||||||
- [[https://github.com/mbbill/undotree][mbbill/undotree]]
|
- [[https://github.com/mbbill/undotree][mbbill/undotree]]
|
||||||
- [[https://github.com/mhinz/vim-signify][mhinz/vim-signify]]
|
- [[https://github.com/mhinz/vim-signify][mhinz/vim-signify]]
|
||||||
- [[https://github.com/myusuf3/numbers.vim][myusuf3/numbers.vim]]
|
- [[https://github.com/myusuf3/numbers.vim][myusuf3/numbers.vim]]
|
||||||
@ -174,6 +175,7 @@ A repository of my personal configuration files.
|
|||||||
- [[https://github.com/vim-airline/vim-airline][vim-airline/vim-airline]]
|
- [[https://github.com/vim-airline/vim-airline][vim-airline/vim-airline]]
|
||||||
*** Programming
|
*** Programming
|
||||||
- [[https://github.com/airblade/vim-gitgutter][airblade/vim-gitgutter]]
|
- [[https://github.com/airblade/vim-gitgutter][airblade/vim-gitgutter]]
|
||||||
|
- [[https://github.com/alvan/vim-closetag][alvan/vim-closetag]]
|
||||||
- [[https://github.com/dense-analysis/ale][dense-analysis/ale]]
|
- [[https://github.com/dense-analysis/ale][dense-analysis/ale]]
|
||||||
- [[https://github.com/godlygeek/tabular][godlygeek/tabular]]
|
- [[https://github.com/godlygeek/tabular][godlygeek/tabular]]
|
||||||
- [[https://github.com/neoclide/coc.nvim][neoclice/coc.nvim]]
|
- [[https://github.com/neoclide/coc.nvim][neoclice/coc.nvim]]
|
||||||
|
@ -312,3 +312,9 @@ if set -q FZF_COMPLETE
|
|||||||
bind -M insert \t '__fzf_complete'
|
bind -M insert \t '__fzf_complete'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Make fzf use ripgrep if available
|
||||||
|
if type rg &> /dev/null
|
||||||
|
export FZF_DEFAULT_COMMAND='rg --files'
|
||||||
|
export FZF_DEFAULT_OPTS='-m --height 50% --border'
|
||||||
|
end
|
||||||
|
2
install
2
install
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
# Prerequisite & inistalled apps
|
# Prerequisite & inistalled apps
|
||||||
set prerequisiteApps bat broot brave caffeine-ng exa fslint fzf graphviz isync imagemagick lightdm-gtk-greeter mailcap deadd-notification-center-bin neofetch npm pandoc-bin pamixer playerctl pulseaudio pulsemixer python pywal stow sxiv tldr trayer udisks2 xwallpaper yarn xprop zathura
|
set prerequisiteApps bat broot brave caffeine-ng exa fslint fzf graphviz isync imagemagick lightdm-gtk-greeter mailcap deadd-notification-center-bin neofetch npm pandoc-bin pamixer playerctl pulseaudio pulsemixer python pywal ripgrep stow sxiv tldr trayer udisks2 xwallpaper yarn xprop zathura
|
||||||
set prerequisiteFonts otf-nerd-fonts-fira-code noto-fonts ttf-unifont
|
set prerequisiteFonts otf-nerd-fonts-fira-code noto-fonts ttf-unifont
|
||||||
set prerequisiteLibraries python-panflute
|
set prerequisiteLibraries python-panflute
|
||||||
set prerequisiteLsp bash-language-server ccls php-language-server python-language-server typescript-language-server-bin vscode-css-languageserver-bin vscode-html-languageserver-bin nodejs-intelephense
|
set prerequisiteLsp bash-language-server ccls php-language-server python-language-server typescript-language-server-bin vscode-css-languageserver-bin vscode-html-languageserver-bin nodejs-intelephense
|
||||||
|
@ -17,10 +17,9 @@
|
|||||||
Plug 'unblevable/quick-scope'
|
Plug 'unblevable/quick-scope'
|
||||||
" }
|
" }
|
||||||
Plug 'bling/vim-bufferline'
|
Plug 'bling/vim-bufferline'
|
||||||
|
Plug 'easymotion/vim-easymotion'
|
||||||
Plug 'farmergreg/vim-lastplace'
|
Plug 'farmergreg/vim-lastplace'
|
||||||
Plug 'junegunn/fzf'
|
Plug 'junegunn/fzf.vim'
|
||||||
Plug 'justinmk/vim-sneak'
|
|
||||||
Plug 'ctrlpvim/ctrlp.vim'
|
|
||||||
Plug 'mbbill/undotree'
|
Plug 'mbbill/undotree'
|
||||||
Plug 'mhinz/vim-signify'
|
Plug 'mhinz/vim-signify'
|
||||||
Plug 'myusuf3/numbers.vim'
|
Plug 'myusuf3/numbers.vim'
|
||||||
@ -34,6 +33,7 @@
|
|||||||
|
|
||||||
" Programming {
|
" Programming {
|
||||||
Plug 'airblade/vim-gitgutter'
|
Plug 'airblade/vim-gitgutter'
|
||||||
|
Plug 'alvan/vim-closetag'
|
||||||
Plug 'dense-analysis/ale'
|
Plug 'dense-analysis/ale'
|
||||||
Plug 'godlygeek/tabular'
|
Plug 'godlygeek/tabular'
|
||||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||||
@ -195,4 +195,37 @@
|
|||||||
" Fix files automatically on save
|
" Fix files automatically on save
|
||||||
let g:ale_fix_on_save = 1
|
let g:ale_fix_on_save = 1
|
||||||
" }
|
" }
|
||||||
|
|
||||||
|
" easymotion {
|
||||||
|
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)
|
||||||
|
" }
|
||||||
|
|
||||||
|
" fzf {
|
||||||
|
nnoremap <silent> <C-f> :Files<CR>
|
||||||
|
nnoremap <silent> <Leader>f :Rg<CR>
|
||||||
|
|
||||||
|
nnoremap <silent> <Leader>f :Rg<CR>
|
||||||
|
nnoremap <silent> <Leader>/ :BLines<CR>
|
||||||
|
nnoremap <silent> <Leader>' :Marks<CR>
|
||||||
|
nnoremap <silent> <Leader>g :Commits<CR>
|
||||||
|
nnoremap <silent> <Leader>H :Helptags<CR>
|
||||||
|
nnoremap <silent> <Leader>hh :History<CR>
|
||||||
|
nnoremap <silent> <Leader>h: :History:<CR>
|
||||||
|
nnoremap <silent> <Leader>h/ :History/<CR>
|
||||||
|
" }
|
||||||
" }
|
" }
|
||||||
|
@ -240,3 +240,9 @@ vterm_prompt_end() {
|
|||||||
printf "\e]51;A$(whoami)@$(hostname):$(pwd)\e\\"
|
printf "\e]51;A$(whoami)@$(hostname):$(pwd)\e\\"
|
||||||
}
|
}
|
||||||
PROMPT=$PROMPT'%{$(vterm_prompt_end)%}'
|
PROMPT=$PROMPT'%{$(vterm_prompt_end)%}'
|
||||||
|
|
||||||
|
# Make fzf use ripgrep if available
|
||||||
|
if type rg &> /dev/null; then
|
||||||
|
export FZF_DEFAULT_COMMAND='rg --files'
|
||||||
|
export FZF_DEFAULT_OPTS='-m --height 50% --border'
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user