mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-12-03 20:58:33 -05:00
Emacs/Neovim: add tldr
This commit is contained in:
parent
877673ba50
commit
41466f77f1
@ -285,6 +285,12 @@
|
|||||||
:sasl-password (my-fetch-password :user "FollieHiyuki" :host "irc.freenode.net")
|
:sasl-password (my-fetch-password :user "FollieHiyuki" :host "irc.freenode.net")
|
||||||
:channels ("#voidlinux" "#river" "#archlinux" "#nixos")))
|
:channels ("#voidlinux" "#river" "#archlinux" "#nixos")))
|
||||||
|
|
||||||
|
;; Cheatsheet
|
||||||
|
(use-package! tldr
|
||||||
|
:commands tldr tldr-mode
|
||||||
|
:config
|
||||||
|
(setq tldr-directory-path "~/.local/share/tldr"))
|
||||||
|
|
||||||
;; Here are some additional functions/macros that could help you configure Doom:
|
;; Here are some additional functions/macros that could help you configure Doom:
|
||||||
;;
|
;;
|
||||||
;; - `load!' for loading external *.el files relative to this one
|
;; - `load!' for loading external *.el files relative to this one
|
||||||
|
@ -68,6 +68,7 @@
|
|||||||
(package! ivy-emms)
|
(package! ivy-emms)
|
||||||
(package! elfeed-goodies)
|
(package! elfeed-goodies)
|
||||||
(package! symon)
|
(package! symon)
|
||||||
|
(package! tldr)
|
||||||
;;(package! mentor)
|
;;(package! mentor)
|
||||||
;;(package! mozc-cand-posframe)
|
;;(package! mozc-cand-posframe)
|
||||||
;;(package! 2048-game)
|
;;(package! 2048-game)
|
||||||
|
@ -2,10 +2,11 @@ sub-auto=fuzzy
|
|||||||
sub-bold=yes
|
sub-bold=yes
|
||||||
scale=ewa_lanczossharp
|
scale=ewa_lanczossharp
|
||||||
cscale=ewa_lanczossharp
|
cscale=ewa_lanczossharp
|
||||||
video-sync=display-resample
|
# video-sync=display-resample
|
||||||
interpolation
|
# interpolation
|
||||||
tscale=oversample
|
# tscale=oversample
|
||||||
profile=gpu-hq
|
profile=gpu-hq
|
||||||
# gpu-context=wayland
|
# gpu-context=wayland
|
||||||
vo=gpu
|
vo=gpu
|
||||||
hwdec=vaapi
|
hwdec=vaapi
|
||||||
|
user-agent="Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0"
|
||||||
|
@ -36,6 +36,7 @@ source $HOME/.config/nvim/plug-config/rooter.vim
|
|||||||
source $HOME/.config/nvim/plug-config/spaceline.vim
|
source $HOME/.config/nvim/plug-config/spaceline.vim
|
||||||
" source $HOME/.config/nvim/plug-config/startify.vim
|
" source $HOME/.config/nvim/plug-config/startify.vim
|
||||||
source $HOME/.config/nvim/plug-config/tablemode.vim
|
source $HOME/.config/nvim/plug-config/tablemode.vim
|
||||||
|
source $HOME/.config/nvim/plug-config/tldr.vim
|
||||||
source $HOME/.config/nvim/plug-config/translate-shell.vim
|
source $HOME/.config/nvim/plug-config/translate-shell.vim
|
||||||
source $HOME/.config/nvim/plug-config/undo.vim
|
source $HOME/.config/nvim/plug-config/undo.vim
|
||||||
source $HOME/.config/nvim/plug-config/vim-buffet.vim
|
source $HOME/.config/nvim/plug-config/vim-buffet.vim
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
" Vim command used to open new buffer
|
" Vim command used to open new buffer
|
||||||
let g:CheatSheetReaderCmd='new"'
|
let g:CheatSheetReaderCmd='new'
|
||||||
|
|
||||||
" Cheat sheet file type
|
" Cheat sheet file type
|
||||||
let g:CheatSheetFt='markdown'
|
let g:CheatSheetFt='markdown'
|
||||||
|
3
home/.config/nvim/plug-config/tldr.vim
Normal file
3
home/.config/nvim/plug-config/tldr.vim
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
let g:tldr_directory_path = '~/.local/share/tldr'
|
||||||
|
let g:tldr_split_type = 'horizontal'
|
||||||
|
let g:tldr_language = 'en'
|
@ -130,6 +130,7 @@ Plug 'mbbill/undotree'
|
|||||||
Plug 'Asheq/close-buffers.vim'
|
Plug 'Asheq/close-buffers.vim'
|
||||||
" Cheatsheet
|
" Cheatsheet
|
||||||
Plug 'dbeniamine/cheat.sh-vim'
|
Plug 'dbeniamine/cheat.sh-vim'
|
||||||
|
Plug 'wlemuel/vim-tldr'
|
||||||
"=================================================
|
"=================================================
|
||||||
" Live-server for html
|
" Live-server for html
|
||||||
Plug 'turbio/bracey.vim', { 'do': 'npm install --prefix server' }
|
Plug 'turbio/bracey.vim', { 'do': 'npm install --prefix server' }
|
||||||
|
Loading…
Reference in New Issue
Block a user