Several changes

This commit is contained in:
Fabian Becker 2022-09-01 15:57:41 +02:00
parent 0df2a6918c
commit 183d7b6a57
5 changed files with 17 additions and 8 deletions

View File

@ -57,11 +57,14 @@ nnoremap('Q', '<Nop>')
nnoremap('<Leader>hl', ':nohl<CR>')
-- Vim Test
nnoremap('<leader>t', ':TestNearest<CR>')
nnoremap('<leader>T', ':TestFile<CR>')
nnoremap('<leader>a', ':TestSuite<CR>')
nnoremap('<leader>l', ':TestLast<CR>')
nnoremap('<leader>g', ':TestVisit<CR>')
nnoremap('<leader>tt', ':TestNearest<CR>')
nnoremap('<leader>tT', ':TestFile<CR>')
nnoremap('<leader>ta', ':TestSuite<CR>')
nnoremap('<leader>tl', ':TestLast<CR>')
nnoremap('<leader>tg', ':TestVisit<CR>')
-- Reload init.lua
nnoremap('<leader>sv', ':source $MYVIMRC<CR>')
vim.cmd("nnoremap <silent> <C-p> :Lspsaga diagnostic_jump_prev<CR>")
vim.cmd("nnoremap <silent> <C-n> :Lspsaga diagnostic_jump_next<CR>")

View File

@ -0,0 +1,5 @@
require("neotest").setup({
adapters = {
require("neotest-vim-test")({ allow_file_types = { "haskell", "elixir" } }),
},
})

View File

@ -2,7 +2,7 @@ local dap = require('dap')
dap.adapters.mix_task = {
type = 'executable',
command = '/Users/fbecker18/opt/elixir-ls/bin/debugger.sh', -- debugger.bat for windows
command = '/home/halfdan/opt/elixir-ls/bin/debugger.sh', -- debugger.bat for windows
args = {}
}

View File

@ -67,10 +67,10 @@ bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft=
# Enables italics in tmux
#set -g default-terminal "tmux-256color"
set -g default-terminal "xterm-256color"
set -g default-terminal "screen-256color"
# Terminal type configuration
set -ga terminal-overrides ",xterm-256color:RGB"
set -ga terminal-overrides ",screen-256color:RGB"
# Start window numbering at specific num
set -g base-index 1

View File

@ -30,6 +30,7 @@
//"custom/arrow1",
//"custom/alsa",
"pulseaudio",
"bluetooth",
//"sndio",
//"custom/arrow2",
"network",