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 | |
| parent | ae5d26906b963664a18f8ae24ec3ee2f5addd31b (diff) | |
dadadad
| -rw-r--r-- | vimrc | 25 | ||||
| -rw-r--r-- | zshrc | 19 |
2 files changed, 24 insertions, 20 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': {} @@ -1,5 +1,5 @@ # If you come from bash you might have to change your $PATH. -export PATH=$HOME/bin:/usr/local/bin:/home/aurelia/.cargo/bin:$PATH +export PATH=$HOME/bin:/usr/local/bin:/home/$USER/.cargo/bin:$PATH # Path to your oh-my-zsh installation. export ZSH="$HOME/.oh-my-zsh" @@ -89,9 +89,6 @@ alias mpa="mpv --no-video" alias l='ls' alias lg='lazygit' -alias gpt='node "/media/aurelia/sda0 [dev]/gpt.js"' - -export ANDROID_HOME=/media/aurelia/data/android-projects # export MANPATH="/usr/local/man:$MANPATH" @@ -117,15 +114,5 @@ export EDITOR='nvim' # alias zshconfig="mate ~/.zshrc" # alias ohmyzsh="mate ~/.oh-my-zsh" -OLLAMA_HOME="/media/aurelia/dev/ollama" -OLLAMA_MODELS="/media/aurelia/dev/ollama/models" -export OLLAMA_HOME -export OLLAMA_MODELS - -EMSDK_QUIET=1 source /home/aurelia/code/emsdk/emsdk_env.sh - -# The next line updates PATH for the Google Cloud SDK. -if [ -f '/home/aurelia/google-cloud-sdk/path.zsh.inc' ]; then . '/home/aurelia/google-cloud-sdk/path.zsh.inc'; fi - -# The next line enables shell command completion for gcloud. -if [ -f '/home/aurelia/google-cloud-sdk/completion.zsh.inc' ]; then . '/home/aurelia/google-cloud-sdk/completion.zsh.inc'; fi +zstyle ':completion:*' menu select +fpath+=~/.zfunc |
