plugins: Change easychair2 url master
authorStefan Huber <shuber@sthu.org>
Mon, 8 Jan 2024 14:30:55 +0000 (15:30 +0100)
committerStefan Huber <shuber@sthu.org>
Mon, 8 Jan 2024 14:30:55 +0000 (15:30 +0100)
gvimrc
init.vim
install.sh
neosnippets/gitcommit.snip
plugins-noroot-nolowendbox.vim
plugins-noroot.vim
plugins.vim

diff --git a/gvimrc b/gvimrc
index 1956f8b839b5797d0d1fe6fd3ccf08829cfcbec0..3782ff88eb6a3e6e3cca3ed71234751e1d79b84a 100644 (file)
--- a/gvimrc
+++ b/gvimrc
@@ -1,6 +1,6 @@
 set columns=100
 set lines=53
 
-set guifont=Hack\ NF\ 9,Hack\ 9,Liberation\ Mono\ for\ Powerline\ 10,DejaVu\ Sans\ Mono\ 10,Monospace\ 10
+set guifont=JetBrainsMono\ NF\ 9,Hack\ NF\ 9,Hack\ 9,DejaVu\ Sans\ Mono\ 10,Monospace\ 10
 
 set mousehide
index 374c3ba8dc79cfe02da6c74a1c6f12e8b24a1148..9700a32330881a913e40b041892b1ba2d98235f7 100644 (file)
--- a/init.vim
+++ b/init.vim
@@ -16,6 +16,9 @@ set fillchars=vert:│,fold:\
 set listchars=tab:»­,trail:·,eol:$
 set virtualedit=block
 
+" use filetype.lua and do not use filetype.vim for >=neovim-0.7.2
+let g:do_filetype_lua = 1
+let g:did_load_filetypes = 0
 filetype plugin indent on
 
 set tabstop=4
@@ -40,6 +43,10 @@ set showcmd
 
 set tabpagemax=100
 
+if has('nvim-0.7')
+  set laststatus=3
+endif
+
 syntax on
 
 if filereadable($HOME . '/.vim/lowendbox')
index d50c6d9b8a46f5601b239f5c698c2eb517f05ea5..4d7ec01a2aa14f7bd5d17983f7484120ad82a59a 100755 (executable)
@@ -51,6 +51,7 @@ check_requirements()
     check_prog curl
     check_prog git
     check_vim +python3
+    check_vim +lua
     check_py3 neovim
     check_font "Hack NF"
 }
@@ -83,7 +84,7 @@ start the plugin provided colorscheme is not available yet.
 
 Add this line to your shell configuration, e.g., ~/.profile, to
 use vim as man pager:
-  export MANPAGER=\"view -c MANPAGER -\"
+  export MANPAGER=\"vi -c ASMANPAGER -\"
 EOF
 }
 
index ed9ffe37711e6a37e183c276e867473c489d3341..dc6106c957a686a748eda65d00503ee7476a446a 100644 (file)
@@ -17,3 +17,7 @@ options head
 snippet acked-by
 options head
        Acked-by: ${1:authorname <mail>}
+snippet Ste-sthu
+       Stefan Huber <shuber@sthu.org>
+snippet Ste-fhs
+       Stefan Huber <stefan.huber@fh-salzburg.ac.at>
index 32df579034d0f66bd1f801805a2b9585635895ab..f442a5d99ede87b491efe185bb27aa70d39e94a4 100644 (file)
@@ -21,7 +21,9 @@ Plug 'justmao945/vim-clang', {'for': ['c', 'cpp', 'objc']}
 
 " Prevent slow foling update, e.g., for vimtex
 Plug 'Konfekt/FastFold'
-Plug 'lervag/vimtex', {'for': 'tex'}
+Plug 'lervag/vimtex'
+
+Plug 'shuber2/vim-syntax-easychair2'
 
 Plug 'mhinz/vim-signify'
 Plug 'tpope/vim-fugitive'
@@ -56,8 +58,15 @@ Plug 'dbeniamine/cheat.sh-vim', {'on': 'Cheat'}
 
 Plug 'sheerun/vim-polyglot'
 
+" neovim-0.4 has troubles with nvim-treesitter
 if has('nvim-0.5')
-    Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
+    " neovim-0.7 works until v0.8.0
+    if has('nvim-0.9')
+        Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
+    else
+        Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate', 'tag': 'v0.8.0'}
+    endif
+
     Plug 'nvim-treesitter/nvim-treesitter-refactor', {'do': ':TSUpdate'}
 endif
 
@@ -175,8 +184,8 @@ function PluginsNorootNolowendboxConfig()
 
 lua <<EOF
         require'nvim-treesitter.configs'.setup {
-            -- one of "all", "maintained" (parsers with maintainers), or a list of languages
-            ensure_installed = "maintained",
+            -- one of "all"
+            ensure_installed = "all",
             -- List of parsers to ignore installing
             ignore_install = {},
             -- Modules and its options go here
@@ -220,7 +229,13 @@ EOF
     let g:detectspelllang_langs = {}
     let g:detectspelllang_langs.aspell =[ 'en_US', 'de_AT']
 
-    let g:languagetool_cmd='languagetool'
+    " Try finding jar file. If it does not work, set cmd directly
+    let g:languagetool_jar='/snap/languagetool/current/usr/bin/languagetool-commandline.jar'
+    if !filereadable(g:languagetool_jar)
+        unlet! g:languagetool_jar
+        let g:languagetool_cmd='languagetool'
+    endif
+
 
     au FileType mail let g:VimMailSpellLangs=['de', 'en']
     let g:VimMailContactsProvider=['khard']
@@ -247,6 +262,9 @@ EOF
 
     let g:vimtex_fold_enabled = 1
     let g:vimtex_fold_levelmarker = '➜'
+    let g:vimtex_view_general_viewer = 'okular'
+    let g:vimtex_view_general_options = '--unique file:@pdf\#src:@line@tex'
+    let g:airline#extensions#vimtex#enabled = 1
 
     au FileType c,cpp,objc,java,python packadd! vimspector
     let g:vimspector_base_dir = expand('~/.vim/vimspector-config')
index d801823df55187a2a65442c23e5fc0746e03f43b..81411f946ee38dd0e9beb7af959538cbaa4de2b6 100644 (file)
@@ -27,6 +27,7 @@ Plug 'mattn/calendar-vim'
 
 Plug 'vim-scripts/loremipsum', {'on': 'Loremipsum'}
 
+Plug 'ggandor/leap.nvim'
 
 function PluginsNorootConfig()
     let g:localvimrc_persistent = 1
@@ -61,4 +62,12 @@ function PluginsNorootConfig()
 
     " Allow for reflow of bullet paragraphs
     let g:vim_markdown_auto_insert_bullets = 0
+
+    let g:calendar_monday = 1
+
+    if has('nvim-0.5')
+lua <<EOF
+    require('leap').set_default_keymaps()
+EOF
+    endif
 endfunction
index 7b9a642c4a4020c1ca70412336742fc2c2c430a8..66939e622131dafdff86b125b44b48433dc2451f 100644 (file)
@@ -25,12 +25,14 @@ Plug 'junegunn/vim-easy-align'
 
 Plug 'thinca/vim-fontzoom'
 
-Plug 'lambdalisue/vim-manpager', {'on': 'MANPAGER'}
+Plug 'lambdalisue/vim-manpager'
 
 " Make . more useful after a plugin map
 Plug 'tpope/vim-repeat'
 Plug 'flwyd/vim-conjoin'
 
+Plug 'nfnty/vim-nftables'
+
 
 function PluginsConfig()