1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-04-19 16:27:45 +02:00

Compare commits

...

6 Commits

5 changed files with 89 additions and 33 deletions

View File

@ -74,6 +74,9 @@ vim.o.conceallevel = 0
vim.g.markdown_folding = 1
-- load general mapped keys
require('style')
-- set filetypes correctly by extension
require('autocmd')
@ -82,6 +85,3 @@ require('loadplugins')
-- load general mapped keys
require('keymap')
-- load general mapped keys
require('style')

View File

@ -7,8 +7,8 @@ vim.keymap.set('i', '<F2>', '<NOP>', { noremap = true })
vim.keymap.set('i', '<F3>', '<NOP>', { noremap = true })
vim.keymap.set('i', '<F4>', '<NOP>', { noremap = true })
vim.keymap.set('i', '<F5>', '<NOP>', { noremap = true })
vim.keymap.set('i', '<F6>', '<NOP>', { noremap = true })
vim.keymap.set('i', '<F7>', '<NOP>', { noremap = true })
vim.keymap.set({ 'n', 'i' }, '<F6>', '<NOP>', { noremap = true })
vim.keymap.set({ 'n', 'i' }, '<F7>', '<NOP>', { noremap = true })
vim.keymap.set('i', '<F8>', '<NOP>', { noremap = true })
vim.keymap.set({ 'n', 'i' }, '<F9>', '<NOP>', { noremap = true })
vim.keymap.set({ 'n', 'i' }, '<F10>', '<NOP>', { noremap = true })
@ -21,10 +21,6 @@ vim.keymap.set('n', '<C-j>', '<C-w>j', { noremap = true })
vim.keymap.set('n', '<C-k>', '<C-w>k', { noremap = true })
vim.keymap.set('n', '<C-l>', '<C-w>l', { noremap = true })
-- mapping Dictionaries
vim.keymap.set('n', '<F6>', ':setlocal spell! spelllang=de_de<CR>', { noremap = true })
vim.keymap.set('n', '<F7>', ':setlocal spell! spelllang=en_us<CR>', { noremap = true })
-- compiler for languages
vim.keymap.set('n', '<leader>c', ':w! | !compiler <c-r>%<CR>', { noremap = true })

View File

@ -13,6 +13,15 @@ end
vim.opt.rtp:prepend(lazypath)
return require("lazy").setup({
-- colorscheme
{
'tiyn/tccs.nvim',
config = function()
require('tccs').setup()
vim.cmd('colorscheme tccs')
end
},
-- display git status per line
{
'lewis6991/gitsigns.nvim',
@ -38,7 +47,8 @@ return require("lazy").setup({
config = function()
vim.g.gitblame_display_virtual_text = 0
end
}
},
{ 'tiyn/tccs.nvim' },
},
config = function()
require('lualine').setup({
@ -319,21 +329,34 @@ return require("lazy").setup({
dependencies = {
-- automatically close html-tags
'windwp/nvim-ts-autotag',
-- color brackets
'p00f/nvim-ts-rainbow',
},
opts = {
ensure_installed = {
"bash",
"c",
"cpp",
"css",
"html",
"java",
"markdown",
"latex",
"python",
},
autotag = { enable = true }
}
config = function()
require("nvim-treesitter").setup({
ensure_installed = {
"bash",
"c",
"cpp",
"css",
"html",
"java",
"markdown",
"latex",
"python",
},
autotag = { enable = true },
})
require("nvim-treesitter.configs").setup({
rainbow = {
enable = true,
extended_mode = true,
max_file_lines = nil,
-- colors = {},
-- termcolors = {}
}
})
end
},
-- folding improvements
@ -417,14 +440,6 @@ return require("lazy").setup({
end
},
-- colorscheme
{
'tiyn/vim-tccs',
config = function()
vim.cmd('colorscheme tccs')
end
},
-- improved wild menu
{
'gelguy/wilder.nvim',
@ -553,6 +568,15 @@ return require("lazy").setup({
'stevearc/oil.nvim',
dependencies = { "nvim-tree/nvim-web-devicons" },
opts = {},
},
-- improve spelling check for coding to feature camelcase, etc
{
'kamykn/spelunker.vim',
dependencies = { 'kamykn/popup-menu.nvim' },
config = function()
vim.o.nospell = true
end
}
},

View File

@ -10,3 +10,39 @@ map K zoom in
map J zoom out
map i recolor
map p print
set default-bg "#1e1e1e"
set default-fg "#d4d4d4"
set statusbar-bg "#1e1e1e"
set statusbar-fg "#808080"
set inputbar-bg "#1e1e1e"
set inputbar-fg "#d4d4d4"
set notification-error-bg "#1e1e1e"
set notification-error-fg "#f44747"
set notification-warning-bg "#1e1e1e"
set notification-warning-fg "#d7ba7d"
set highlight-color "#007acc"
set highlight-active-color "#d4d4d4"
set completion-highlight-fg "#56b6c2"
set completion-highlight-bg "#1e1e1e"
set completion-bg "#1e1e1e"
set completion-fg "#d4d4d4"
set notification-bg "#1e1e1e"
set notification-fg "#d4d4d4"
set recolor-lightcolor "#1e1e1e"
set recolor-darkcolor "#d4d4d4"
set index-fg "#d4d4d4"
set index-bg "#1e1e1e"
set index-active-fg "#56b6c2"
set index-active-bg "#1e1e1e"

View File

@ -5,7 +5,7 @@
# by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
# Must have xclip installed to even show menu.
xclip -h >/dev/null || exit
xclip -h > /dev/null 2>&1 || exit
if [ -e ~/.config/fontawesome ]; then
chosen=$(grep -v "#" -h ~/.config/emoji ~/.config/fontawesome | dmenu -i -l 20 )