Skip to content

Instantly share code, notes, and snippets.

@wedesoft
Created February 10, 2025 16:17
Show Gist options
  • Save wedesoft/555695284dbf53e8cee5d2343ee6f346 to your computer and use it in GitHub Desktop.
Save wedesoft/555695284dbf53e8cee5d2343ee6f346 to your computer and use it in GitHub Desktop.
Vimrc
set tabstop=4
set shiftwidth=4
set autoindent
set hlsearch
call plug#begin()
Plug 'tartansandal/vim-compiler-pytest'
Plug 'gergap/vim-ollama'
call plug#end()
let g:slime_target = "tmux"
let g:slime_default_config = {"socket_name": get(split($TMUX, ","), 0), "target_pane": ":.0"}
let g:ollama_host = 'http://127.0.0.1:11434'
let g:ollama_chat_model = 'qwen2.5-coder:7b'
let g:ollama_model = 'qwen2.5-coder:7b'
let g:ollama_model_options = {
\ 'temperature': 0,
\ 'top_p': 0.9,
\ 'num_predict': 42
\ }
colorscheme wombat256mod
syntax on
execute pathogen#infect()
filetype plugin indent on
set undofile
set mouse+=a
if &term =~ '^xterm'
" tmux knows the extended mouse mode
set ttymouse=xterm2
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment