Signed-off-by: Marcin Wozniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2020-05-31 14:50:54 +02:00 committed by Marcin Wozniak
parent 6318e88130
commit e18e272a06
3 changed files with 11 additions and 9 deletions

View File

@ -1,3 +1,3 @@
#!/bin/bash
GDK_DPI_SCALE="1.3" firefox
#google-chrome-stable --force-device-scale-factor=1.2&
#GDK_DPI_SCALE="1.3" firefox
brave-bin --force-device-scale-factor=1.2&

View File

@ -2,9 +2,5 @@ chmod 700 ~/.ssh
chmod 644 ~/.ssh/authorized_keys
chmod 644 ~/.ssh/known_hosts
chmod 644 ~/.ssh/config
chmod 600 ~/.ssh/id_rsa
chmod 644 ~/.ssh/id_rsa.pub
chmod 600 ~/.ssh/github_rsa
chmod 644 ~/.ssh/github_rsa.pub
chmod 600 ~/.ssh/mozilla_rsa
chmod 644 ~/.ssh/mozilla_rsa.pub
chmod 400 ~/.ssh/id_rsa
chmod 400 ~/.ssh/id_rsa.pub

8
.vimrc
View File

@ -1,4 +1,10 @@
" settings
if ! filereadable(system('echo -n "$HOME/.vim/autoload/plug.vim"'))
silent !mkdir -p $HOME/.vim/autoload/
silent !curl --silent "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" > $HOME/.vim/autoload/plug.vim
autocmd VimEnter * PlugInstall
endif
set laststatus=2
set shiftwidth=4
set softtabstop=4
@ -70,12 +76,12 @@ hi CursorLine cterm=NONE term=NONE ctermbg=NONE guibg=NONE
hi CursorLine ctermbg=235
" map
nnoremap S :%s//g<Left><Left>
nnoremap ee :!mupdf $(echo % \| sed 's/tex$/pdf/') & disown<CR><CR>
map <C-n> :NERDTreeToggle<CR>
nnoremap <silent> <C-t> :tabnew <CR>
nnoremap <F11> :Goyo <CR>
nnoremap <F7> :tabprevious<CR>
nnoremap ww :w!<CR><CR>
nnoremap <F8> :tabnext<CR>
nnoremap <F2> :GoRun<CR>