diff --git a/config/.local/share/ranger/bookmarks b/config/.local/share/ranger/bookmarks index acb617f..e9b76b2 100644 --- a/config/.local/share/ranger/bookmarks +++ b/config/.local/share/ranger/bookmarks @@ -9,4 +9,4 @@ t:/home/tuan/Templates w:/home/tuan/workspace_l/Projects k:/home/tuan/Documents/Protokolle/FSE q:/home/tuan/.nextcloud/Quick Drop -':/home/tuan/.dotfiles +':/home/tuan/isofiles diff --git a/vim/.vim/ftplugin/go.vim b/vim/.vim/ftplugin/go.vim index 68d8f64..1373edb 100644 --- a/vim/.vim/ftplugin/go.vim +++ b/vim/.vim/ftplugin/go.vim @@ -1,8 +1,9 @@ " Basics set autoindent noexpandtab tabstop=4 shiftwidth=4 " Shortcuts -abbrev funct funcTest(t*testing.T){}kwwi -abbrev trun t.Run("", func(t *testing.T){})%la +abbrev funct func Test(t *testing.T) {}kwwi +abbrev trun t.Run("", func(t *testing.T) {})%la +abbrev terr t.Errorf("got %d, want %d", got, want) abbrev fori for i := 0; i < ; i++{}k2f;i " Compiling diff --git a/vim/.vim/plugged/vim-go b/vim/.vim/plugged/vim-go new file mode 160000 index 0000000..b686094 --- /dev/null +++ b/vim/.vim/plugged/vim-go @@ -0,0 +1 @@ +Subproject commit b686094cef83ecc913c666a6ebba7daacccecd47 diff --git a/vim/.vim/plugin/plugins.vim b/vim/.vim/plugin/plugins.vim index 99e2cab..ae25370 100644 --- a/vim/.vim/plugin/plugins.vim +++ b/vim/.vim/plugin/plugins.vim @@ -4,4 +4,5 @@ filetype on call plug#begin() Plug 'lervag/vimtex' Plug 'sheerun/vim-polyglot' +Plug 'fatih/vim-go' call plug#end() diff --git a/vim/.vim/plugin/remaps.vim b/vim/.vim/plugin/remaps.vim index 3fb6e6e..3cf342f 100644 --- a/vim/.vim/plugin/remaps.vim +++ b/vim/.vim/plugin/remaps.vim @@ -5,6 +5,7 @@ nnoremap nnoremap nnoremap J :bn nnoremap K :bp +map :b nnoremap :earlier nnoremap :later noremap Y "+y