Skip to content

Commit

Permalink
refactor!: remove .ideavimrc, .obsidian.vimrc, alacritty
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangyinzuo committed Aug 12, 2024
1 parent ac5affb commit 63c0330
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 363 deletions.
25 changes: 0 additions & 25 deletions .ideavimrc

This file was deleted.

36 changes: 0 additions & 36 deletions .obsidian.vimrc

This file was deleted.

5 changes: 5 additions & 0 deletions root/.vim/autoload/fzf_custom/fzf.vim
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ function fzf_custom#fzf#mergetool_start(f)
tabclose -1
endfunction

function fzf_custom#fzf#backup(f)
let current_ft = &ft
exe 'vsp ' . a:f
exe 'set ft=' . current_ft
endfunction
2 changes: 2 additions & 0 deletions root/.vim/vimrc.d/fzf.vim
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,6 @@ command -nargs=0 SpacedRepetitionAdd call asyncrun#run('', {'silent': 1}, $VIMRC
" [[palette]]读取常用项目配置文件 :ReadProjectFile
command! -nargs=0 ReadProjectFile call fzf#run(fzf#wrap({'source': "find ~/vimrc/project_files -type f", 'sink': 'read', 'options': ['--prompt', 'ProjectFile > ', '--preview', 'cat {}', '--preview-window', 'up,60%']}))

command! -nargs=0 BackupFile call fzf#run(fzf#wrap({'source': "find ~/.vim/backup" . expand('%:p') . '* -type f', 'sink': function("fzf_custom#fzf#backup"), 'options': ['--tac', '--no-sort', '--prompt', 'BackupFile> ', '--preview', 'head -n 1000 {}', '--preview-window', 'up,60%']}))

command! -nargs=0 Dictionary call fzf#run(fzf#wrap('dictionary', {'source': 'cat ' . &dict, 'sink': function("s:paste_word")}))
2 changes: 1 addition & 1 deletion terminal/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
alacritty windows彩色emoji:https://github.com/alacritty/alacritty/issues/3082
alacritty已从v0.22.0删除,最后一次commit见 ac5affb8c8c8268299c2c124683b25c6e8cde012

WSL快速编辑wezterm配置文件
```bash
Expand Down
15 changes: 0 additions & 15 deletions terminal/alacritty.ahk

This file was deleted.

209 changes: 0 additions & 209 deletions terminal/alacritty.yml

This file was deleted.

77 changes: 0 additions & 77 deletions terminal/alapasty.vim

This file was deleted.

0 comments on commit 63c0330

Please sign in to comment.