diff options
| author | navewindre <boneyaard@gmail.com> | 2024-09-26 18:52:24 +0200 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2024-09-26 18:52:24 +0200 |
| commit | 0d7d51eb734a3a4b537cf1fe096952389aa6431a (patch) | |
| tree | fee0fb068fa2340174c6799b6383bec9247879c7 /vimrc | |
| parent | ae5d26906b963664a18f8ae24ec3ee2f5addd31b (diff) | |
dadadad
Diffstat (limited to 'vimrc')
| -rw-r--r-- | vimrc | 25 |
1 files changed, 21 insertions, 4 deletions
@@ -7,6 +7,7 @@ set title set smartcase set showtabline=2 set nocompatible +set signcolumn=no filetype plugin on let g:mapleader = '\' @@ -150,7 +151,14 @@ lua <<EOF } require('lspconfig')['ts_ls'].setup { - capabilities = capabilities + capabilities = capabilities, + settings = { + eslint = { + rules = { + eqeqeq = "off" + } + } + } } require('lspconfig')['intelephense'].setup { @@ -247,9 +255,9 @@ lua <<EOF ---@type AvanteProvider ollama = { ["local"] = true, - endpoint = "127.0.0.1:11432/v1", - -- model = "codestral", - model = "codestral:22b-v0.1-q6_K", + endpoint = "127.0.0.1:11434/v1", + model = "codestral", + -- model = "codestral:22b-v0.1-q6_K", -- model = "mistral-nemo:12b-instruct-2407-q8_0", -- model = "mistral-nemo:12b-instruct-2407-q4_K_S", -- model = "deepseek-coder-v2:16b-lite-instruct-q5_K_M", @@ -315,6 +323,8 @@ let g:lightline.component_raw = {'buffers': 1} let g:lightline#bufferline#clickable = 1 let g:lightline#bufferline#show_number = 2 +let g:ale_javascript_eslint_options = '--config /home/aurelia/.eslintrc.json' + function! CustomTabs() if tabpagenr('$') == 1 return '' @@ -428,6 +438,10 @@ nnoremap <Esc> :call Q()<CR> nnoremap <S-Tab> :call SWB()<CR> nnoremap <Tab> :call SW()<CR> +nnoremap w <S-e> +nnoremap <S-w> <S-b> +nnoremap <S-e> b + noremap <leader><Tab> :tabn<CR> noremap <leader><S-Tab> :tabp<CR> @@ -451,6 +465,9 @@ inoremap <S-Tab> <C-d> vnoremap <Tab> >gv vnoremap <S-Tab> <gv +nnoremap <leader><left> <Plug>lightline#bufferline#move_previous() +nnoremap <leader><right> <Plug>lightline#bufferline#move_next() + " let g:NERDTreeCustomOpenArgs = { " \ 'file': {'where': 't', 'reuse': 'all'}, " \ 'dir': {} |
