Compare commits
No commits in common. "2b8297852821661bc5d34baff6b7d88acfc471f9" and "c37a86d6c9f0b5fa96978807b85c6050acc6ff10" have entirely different histories.
2b82978528
...
c37a86d6c9
@ -16,10 +16,11 @@ let g:python3_host_prog = expand('/usr/bin/python3')
|
||||
let g:loaded_python_provider = 0
|
||||
let g:python_host_prog = ''
|
||||
set autoindent
|
||||
set expandtab
|
||||
set noexpandtab
|
||||
set softtabstop=4
|
||||
set shiftwidth=4
|
||||
set tabstop=4
|
||||
set expandtab
|
||||
set nocompatible
|
||||
set noshowmode
|
||||
set noerrorbells
|
||||
@ -47,9 +48,8 @@ set title
|
||||
|
||||
" indent
|
||||
set backspace=indent,eol,start
|
||||
"set list listchars=nbsp:¬,tab:»·,trail:·,extends:>
|
||||
set list listchars=tab:\│\ ,trail:·
|
||||
let g:indentLine_char_list = ['│', '│', '│', '│']
|
||||
set shiftwidth=4
|
||||
set list listchars=nbsp:¬,tab:»·,trail:·,extends:>
|
||||
|
||||
" editing
|
||||
runtime! macros/matchit.vim
|
||||
@ -106,9 +106,6 @@ call plug#begin('~/.config/nvim/plugged')
|
||||
" coc
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||
|
||||
" Copilot
|
||||
Plug 'github/copilot.vim'
|
||||
|
||||
" PyRight
|
||||
Plug 'sakhnik/nvim-gdb', { 'do': ':!./install.sh' }
|
||||
|
||||
@ -116,9 +113,6 @@ call plug#begin('~/.config/nvim/plugged')
|
||||
Plug 'pearofducks/ansible-vim', { 'do': './UltiSnips/generate.sh' }
|
||||
Plug 'Yggdroot/indentLine'
|
||||
|
||||
" GoLang
|
||||
Plug 'fatih/vim-go'
|
||||
|
||||
" Multiple cursors
|
||||
Plug 'terryma/vim-multiple-cursors'
|
||||
|
||||
@ -133,10 +127,6 @@ call plug#begin('~/.config/nvim/plugged')
|
||||
|
||||
" Preetier
|
||||
Plug 'prettier/vim-prettier'
|
||||
|
||||
" Debug
|
||||
Plug 'puremourning/vimspector'
|
||||
Plug 'mfussenegger/nvim-dap'
|
||||
call plug#end()
|
||||
|
||||
" Coc
|
||||
@ -155,9 +145,6 @@ let NERDTreeShowHidden=1
|
||||
" latex
|
||||
let g:tex_flavor = "latex"
|
||||
|
||||
" Debug
|
||||
let g:vimspector_enable_mappings = 'VISUAL_STUDIO'
|
||||
let g:vimspector_install_gadgets = [ 'debugpy', 'vscode-go', 'CodeLLDB', 'vscode-node-debug2' ]
|
||||
|
||||
""""""""""""""""""""""""""""""""
|
||||
" Theme
|
||||
@ -209,10 +196,6 @@ set statusline+=%#Search#
|
||||
set statusline+=\ %l/%L
|
||||
set statusline+=\ [%c]
|
||||
|
||||
" Disable godoc keys
|
||||
let g:go_doc_keywordprg_enabled = 0
|
||||
set completeopt-=preview
|
||||
|
||||
""""""""""""""""""""""""""""""""
|
||||
" Keyboard shortcuts
|
||||
""""""""""""""""""""""""""""""""
|
||||
@ -302,8 +285,8 @@ vnoremap F <C-v>$A
|
||||
vnoremap f <C-v>0I
|
||||
|
||||
" Better management of tabs
|
||||
nnoremap <Leader>9 :tabprevious<CR>
|
||||
nnoremap <Leader>0 :tabnext<CR>
|
||||
nnoremap <Leader>7 :tabprevious<CR>
|
||||
nnoremap <Leader>8 :tabnext<CR>
|
||||
|
||||
" Better moving
|
||||
nnoremap J }
|
||||
|
7
.gitignore
vendored
7
.gitignore
vendored
@ -270,9 +270,4 @@ golang
|
||||
.config/filezilla
|
||||
.local/state/mume
|
||||
.putty
|
||||
.redhat
|
||||
.cpanm
|
||||
.node-gyp/14.16.0
|
||||
.packettracer
|
||||
.dlv
|
||||
Cisco Packet Tracer 8.0.0
|
||||
.redhat
|
16
.zshrc
16
.zshrc
@ -103,6 +103,7 @@ alias dplen="trans pl:en"
|
||||
alias notes="nvim $HOME/git/notes/index.md"
|
||||
alias mgr="cd $HOME/Documents/Mega-Documents/Magisterka-Marcin/Semestr1/"
|
||||
[[ "$(uname)" == "Darwin" ]] && alias mpv="mpv --no-resume-playback" || alias mpv="__NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 __GLX_VENDOR_LIBRARY_NAME=nvidia __GL_SYNC_TO_VBLANK=0 mpv --vo=x11 --hwdec=no --ytdl-raw-options="yes-playlist=" --no-resume-playback --ytdl-format='bestvideo[height<=?1080]+bestaudio/best'"
|
||||
[[ "$(uname)" == "Darwin" ]] && alias lsblk="diskutil list"
|
||||
alias aria2c="aria2c --seed-time=0 --disable-ipv6 --max-upload-limit=1k"
|
||||
alias lg="lazygit"
|
||||
alias update-brew="brew upgrade --cask"
|
||||
@ -118,18 +119,3 @@ export PATH=$PATH:$GOPATH/bin
|
||||
export PATH=$PATH:$GOROOT/bin
|
||||
[ -d $HOME/repo/fortigate/bin ] && export PATH=$HOME/repo/fortigate/bin:$PATH
|
||||
export HISTTIMEFORMAT="%F %T "
|
||||
|
||||
# Export for Mac
|
||||
if [[ "$(uname)" == "Darwin" ]]; then
|
||||
export PATH="/usr/local/opt/openssl@3/bin:$PATH"
|
||||
export LDFLAGS="-L/usr/local/opt/openssl@3/lib"
|
||||
export CPPFLAGS="-I/usr/local/opt/openssl@3/include"
|
||||
export PKG_CONFIG_PATH="/usr/local/opt/openssl@3/lib/pkgconfig"
|
||||
|
||||
alias lsblk="diskutil list"
|
||||
alias Update="brew update; brew upgrade"
|
||||
|
||||
# Resolve problem with GOPATH
|
||||
# https://stackoverflow.com/questions/66284870/go-get-not-downloading-to-src-folder
|
||||
export GO111MODULE=off
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user