diff options
-rw-r--r-- | .config/nixpkgs/config.nix | 1 | ||||
-rw-r--r-- | .vimrc | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/.config/nixpkgs/config.nix b/.config/nixpkgs/config.nix index e0a5122..453f34a 100644 --- a/.config/nixpkgs/config.nix +++ b/.config/nixpkgs/config.nix @@ -43,6 +43,7 @@ in gettext gifsicle groff + highlight html-tidy html-xml-utils hunspell @@ -211,7 +211,7 @@ nmap <Leader>od :set laststatus=2<cr> \| :redraw \\| :set laststatus=0<cr> nmap <Leader>oo :set laststatus=2<cr> \| :redraw - \\| :call fzf#run({'options': ['--preview', 'head -20 {}'], 'source': 'rg --files --hidden \|\| find . -type f -printf "%P\n"', 'sink': 'e', 'down': '20%'})<cr> + \\| :call fzf#run({'options': ['--preview', 'highlight -O ansi --force {}'], 'source': 'rg --files --hidden \|\| find . -type f -printf "%P\n"', 'sink': 'e', 'down': '20%'})<cr> \\| :set laststatus=0<cr> nmap <Leader>of :set laststatus=2<cr> \| :redraw |