mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-04-20 08:37:49 +02:00
Compare commits
No commits in common. "c49698c79f3d8ac0642f1c610007d3c2be828f02" and "e0f8af80338270014e502afb3df0976c3e8fe6c0" have entirely different histories.
c49698c79f
...
e0f8af8033
@ -74,9 +74,6 @@ vim.o.conceallevel = 0
|
|||||||
|
|
||||||
vim.g.markdown_folding = 1
|
vim.g.markdown_folding = 1
|
||||||
|
|
||||||
-- load general mapped keys
|
|
||||||
require('style')
|
|
||||||
|
|
||||||
-- set filetypes correctly by extension
|
-- set filetypes correctly by extension
|
||||||
require('autocmd')
|
require('autocmd')
|
||||||
|
|
||||||
@ -85,3 +82,6 @@ require('loadplugins')
|
|||||||
|
|
||||||
-- load general mapped keys
|
-- load general mapped keys
|
||||||
require('keymap')
|
require('keymap')
|
||||||
|
|
||||||
|
-- load general mapped keys
|
||||||
|
require('style')
|
||||||
|
@ -7,8 +7,8 @@ vim.keymap.set('i', '<F2>', '<NOP>', { noremap = true })
|
|||||||
vim.keymap.set('i', '<F3>', '<NOP>', { noremap = true })
|
vim.keymap.set('i', '<F3>', '<NOP>', { noremap = true })
|
||||||
vim.keymap.set('i', '<F4>', '<NOP>', { noremap = true })
|
vim.keymap.set('i', '<F4>', '<NOP>', { noremap = true })
|
||||||
vim.keymap.set('i', '<F5>', '<NOP>', { noremap = true })
|
vim.keymap.set('i', '<F5>', '<NOP>', { noremap = true })
|
||||||
vim.keymap.set({ 'n', 'i' }, '<F6>', '<NOP>', { noremap = true })
|
vim.keymap.set('i', '<F6>', '<NOP>', { noremap = true })
|
||||||
vim.keymap.set({ 'n', 'i' }, '<F7>', '<NOP>', { noremap = true })
|
vim.keymap.set('i', '<F7>', '<NOP>', { noremap = true })
|
||||||
vim.keymap.set('i', '<F8>', '<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' }, '<F9>', '<NOP>', { noremap = true })
|
||||||
vim.keymap.set({ 'n', 'i' }, '<F10>', '<NOP>', { noremap = true })
|
vim.keymap.set({ 'n', 'i' }, '<F10>', '<NOP>', { noremap = true })
|
||||||
@ -21,6 +21,10 @@ 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-k>', '<C-w>k', { noremap = true })
|
||||||
vim.keymap.set('n', '<C-l>', '<C-w>l', { 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
|
-- compiler for languages
|
||||||
vim.keymap.set('n', '<leader>c', ':w! | !compiler <c-r>%<CR>', { noremap = true })
|
vim.keymap.set('n', '<leader>c', ':w! | !compiler <c-r>%<CR>', { noremap = true })
|
||||||
|
|
||||||
|
@ -13,15 +13,6 @@ end
|
|||||||
vim.opt.rtp:prepend(lazypath)
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
return require("lazy").setup({
|
return require("lazy").setup({
|
||||||
-- colorscheme
|
|
||||||
{
|
|
||||||
'tiyn/tccs.nvim',
|
|
||||||
config = function()
|
|
||||||
require('tccs').setup()
|
|
||||||
vim.cmd('colorscheme tccs')
|
|
||||||
end
|
|
||||||
},
|
|
||||||
|
|
||||||
-- display git status per line
|
-- display git status per line
|
||||||
{
|
{
|
||||||
'lewis6991/gitsigns.nvim',
|
'lewis6991/gitsigns.nvim',
|
||||||
@ -47,8 +38,7 @@ return require("lazy").setup({
|
|||||||
config = function()
|
config = function()
|
||||||
vim.g.gitblame_display_virtual_text = 0
|
vim.g.gitblame_display_virtual_text = 0
|
||||||
end
|
end
|
||||||
},
|
}
|
||||||
{ 'tiyn/tccs.nvim' },
|
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
require('lualine').setup({
|
require('lualine').setup({
|
||||||
@ -329,11 +319,8 @@ return require("lazy").setup({
|
|||||||
dependencies = {
|
dependencies = {
|
||||||
-- automatically close html-tags
|
-- automatically close html-tags
|
||||||
'windwp/nvim-ts-autotag',
|
'windwp/nvim-ts-autotag',
|
||||||
-- color brackets
|
|
||||||
'p00f/nvim-ts-rainbow',
|
|
||||||
},
|
},
|
||||||
config = function()
|
opts = {
|
||||||
require("nvim-treesitter").setup({
|
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
"bash",
|
"bash",
|
||||||
"c",
|
"c",
|
||||||
@ -345,18 +332,8 @@ return require("lazy").setup({
|
|||||||
"latex",
|
"latex",
|
||||||
"python",
|
"python",
|
||||||
},
|
},
|
||||||
autotag = { enable = true },
|
autotag = { enable = true }
|
||||||
})
|
|
||||||
require("nvim-treesitter.configs").setup({
|
|
||||||
rainbow = {
|
|
||||||
enable = true,
|
|
||||||
extended_mode = true,
|
|
||||||
max_file_lines = nil,
|
|
||||||
-- colors = {},
|
|
||||||
-- termcolors = {}
|
|
||||||
}
|
}
|
||||||
})
|
|
||||||
end
|
|
||||||
},
|
},
|
||||||
|
|
||||||
-- folding improvements
|
-- folding improvements
|
||||||
@ -440,6 +417,14 @@ return require("lazy").setup({
|
|||||||
end
|
end
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- colorscheme
|
||||||
|
{
|
||||||
|
'tiyn/vim-tccs',
|
||||||
|
config = function()
|
||||||
|
vim.cmd('colorscheme tccs')
|
||||||
|
end
|
||||||
|
},
|
||||||
|
|
||||||
-- improved wild menu
|
-- improved wild menu
|
||||||
{
|
{
|
||||||
'gelguy/wilder.nvim',
|
'gelguy/wilder.nvim',
|
||||||
@ -568,15 +553,6 @@ return require("lazy").setup({
|
|||||||
'stevearc/oil.nvim',
|
'stevearc/oil.nvim',
|
||||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||||
opts = {},
|
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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
@ -10,39 +10,3 @@ map K zoom in
|
|||||||
map J zoom out
|
map J zoom out
|
||||||
map i recolor
|
map i recolor
|
||||||
map p print
|
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"
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
# by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
|
# by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
|
||||||
|
|
||||||
# Must have xclip installed to even show menu.
|
# Must have xclip installed to even show menu.
|
||||||
xclip -h > /dev/null 2>&1 || exit
|
xclip -h >/dev/null || exit
|
||||||
|
|
||||||
if [ -e ~/.config/fontawesome ]; then
|
if [ -e ~/.config/fontawesome ]; then
|
||||||
chosen=$(grep -v "#" -h ~/.config/emoji ~/.config/fontawesome | dmenu -i -l 20 )
|
chosen=$(grep -v "#" -h ~/.config/emoji ~/.config/fontawesome | dmenu -i -l 20 )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user