fixes
This commit is contained in:
parent
053e7a530d
commit
0d4fd15fc8
4 changed files with 11 additions and 4 deletions
|
@ -7,6 +7,7 @@ export \
|
|||
XDG_DATA_HOME="$HOME/.local/share" \
|
||||
XDG_CONFIG_HOME="$HOME/.config" \
|
||||
_JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME/java" \
|
||||
XCURSOR_PATH=/usr/share/icons:$XDG_DATA_HOME/icons \
|
||||
GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0" \
|
||||
PASSWORD_STORE_DIR="$XDG_DATA_HOME/password-store" \
|
||||
VIMINIT="source $XDG_CONFIG_HOME/vim/vimrc" \
|
||||
|
|
|
@ -95,9 +95,8 @@ autocmd FileType c :compiler gcc | setlocal makeprg=gcc\ -Wall\ -c\ %
|
|||
autocmd FileType cpp :compiler gcc | setlocal makeprg=g++\ -Wall\ -c\ %
|
||||
|
||||
" groff
|
||||
autocmd FileType groff noremap <buffer> <silent> <F9> :!zathura --fork %:r.pdf<CR> & disown
|
||||
autocmd FileType groff noremap <buffer> <C-s> :w<CR> :!groffc %<CR><CR>
|
||||
au BufNewFile,BufRead *.ms set filetype=groff
|
||||
autocmd FileType troff noremap <buffer> <silent> <F9> :!zathura --fork %:r.pdf<CR> & disown
|
||||
autocmd FileType troff noremap <buffer> <C-s> :w<CR> :!grofftex %<CR><CR>
|
||||
|
||||
" Python
|
||||
autocmd FileType python noremap <buffer> <F9> :!python %<CR>
|
||||
|
@ -154,6 +153,7 @@ Plug 'jiangmiao/auto-pairs'
|
|||
Plug 'tpope/vim-commentary'
|
||||
Plug 'Yggdroot/indentLine'
|
||||
Plug 'preservim/nerdtree'
|
||||
Plug 'Gavinok/vim-troff'
|
||||
Plug 'ibhagwan/fzf-lua'
|
||||
Plug 'preservim/tagbar'
|
||||
" Plug 'morhetz/gruvbox'
|
||||
|
|
6
wrappers/firefox
Executable file
6
wrappers/firefox
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
HOME=$HOME/.local/share/mozilla
|
||||
mkdir -p "$HOME"
|
||||
|
||||
exec /usr/bin/firefox -P default "$@"
|
|
@ -3,4 +3,4 @@
|
|||
HOME=$HOME/.local/share/mozilla
|
||||
mkdir -p "$HOME"
|
||||
|
||||
exec firefox -P hardened "$@"
|
||||
exec /usr/bin/firefox -P hardened "$@"
|
||||
|
|
Loading…
Reference in a new issue