summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vimrc25
-rw-r--r--zshrc19
2 files changed, 24 insertions, 20 deletions
diff --git a/vimrc b/vimrc
index b10ff8c..b336edd 100644
--- a/vimrc
+++ b/vimrc
@@ -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': {}
diff --git a/zshrc b/zshrc
index 9da119e..fd662f4 100644
--- a/zshrc
+++ b/zshrc
@@ -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