diff --git a/home/.config/nvim/main.vim b/home/.config/nvim/main.vim index 80170ec..e9543cb 100644 --- a/home/.config/nvim/main.vim +++ b/home/.config/nvim/main.vim @@ -130,6 +130,10 @@ inoremap coc#pum#visible() ? coc#pum#prev(1) : "\" "CocInstall coc-lists coc-lua coc-pyright coc-rust-analyzer coc-sh coc-snippets coc-sql """"these may cause errors"""""CocInstall coc-symbol-line coc-toml coc-texlab coc-vimlsp coc-xml +" slime (sends stuff to other programs, like ipython) +let g:slime_target = "neovim" + + "------------------------------------------------------ lua << END require('alpha').setup(require('alpha.themes.startify').config) @@ -199,3 +203,9 @@ dimensions = { -- floaterm keys vim.keymap.set('n', '', 'lua require("FTerm").toggle()') vim.keymap.set('t', '', 'lua require("FTerm").toggle()') + +-- slime +-- get id of a terminal, FloatTerm is usually 7, but I should rice this more +vim.g.slime_get_jobid = function() + return 7 +end diff --git a/home/.zsh-server/zshrc b/home/.zsh-server/zshrc index 6f768ca..22d86c2 100644 --- a/home/.zsh-server/zshrc +++ b/home/.zsh-server/zshrc @@ -17,6 +17,7 @@ alias egrep="grep -E" alias lgrep="find | grep" alias psgrep="ps axu | grep" alias isotime='date +"%Y-%m-%dT%H:%M:%S%z"' +alias gls=/bin/ls ### Functions function largefiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(G|T|P|E)\s" } diff --git a/home/.zsh/zshrc b/home/.zsh/zshrc index c3b6a44..c0bceee 100644 --- a/home/.zsh/zshrc +++ b/home/.zsh/zshrc @@ -27,6 +27,7 @@ alias plasmarestart="killall plasmashell; kstart5 plasmashell" alias isotime='date +"%Y-%m-%dT%H:%M:%S%z"' alias gg=lazygit alias reload="source ~/.zshrc" +alias gls=/bin/ls ### Functions function largefiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(G|T|P|E)\s" }