nvim
This commit is contained in:
		
							parent
							
								
									68a79b3b12
								
							
						
					
					
						commit
						d83f895351
					
				
					 8 changed files with 36 additions and 16 deletions
				
			
		| 
						 | 
				
			
			@ -3,7 +3,7 @@ if not ok then
 | 
			
		|||
    return
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
vim.g.catppuccin_flavour = "latte" -- latte, frappe, macchiato, mocha
 | 
			
		||||
vim.g.catppuccin_flavour = "mocha" -- latte, frappe, macchiato, mocha
 | 
			
		||||
 | 
			
		||||
catppuccin.setup {
 | 
			
		||||
    compile = {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										24
									
								
								nvim/dot-config/nvim/after/plugin/oil.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								nvim/dot-config/nvim/after/plugin/oil.lua
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,24 @@
 | 
			
		|||
local ok, oil = pcall(require, "oil")
 | 
			
		||||
 | 
			
		||||
if not ok then
 | 
			
		||||
    return
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
oil.setup {
 | 
			
		||||
    keymaps = {
 | 
			
		||||
        ["g?"] = "actions.show_help",
 | 
			
		||||
        ["<CR>"] = "actions.select",
 | 
			
		||||
        ["<C-v>"] = "actions.select_vsplit",
 | 
			
		||||
        ["<C-s>"] = "actions.select_split",
 | 
			
		||||
        ["<C-t>"] = "actions.select_tab",
 | 
			
		||||
        ["<C-p>"] = "actions.preview",
 | 
			
		||||
        ["<C-c>"] = "actions.close",
 | 
			
		||||
        ["r"] = "actions.refresh",
 | 
			
		||||
        ["-"] = "actions.parent",
 | 
			
		||||
        ["_"] = "actions.open_cwd",
 | 
			
		||||
        ["`"] = "actions.cd",
 | 
			
		||||
        ["~"] = "actions.tcd",
 | 
			
		||||
        ["g."] = "actions.toggle_hidden",
 | 
			
		||||
    },
 | 
			
		||||
    use_default_keymaps = false,
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -8,9 +8,9 @@ treesitter.setup {
 | 
			
		|||
        enable = true,
 | 
			
		||||
        additional_vim_regex_highlighting = false,
 | 
			
		||||
    },
 | 
			
		||||
    -- indent = {
 | 
			
		||||
    --     enable = { "php" },
 | 
			
		||||
    -- },
 | 
			
		||||
    indent = {
 | 
			
		||||
        enable = false,
 | 
			
		||||
    },
 | 
			
		||||
    textobjects = {
 | 
			
		||||
        select = {
 | 
			
		||||
            enable = true,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1 +0,0 @@
 | 
			
		|||
/home/nikos/.dotfiles/nvim/dot-config/nvim/after/queries/html_tags/highlights.scm
 | 
			
		||||
| 
						 | 
				
			
			@ -1,6 +0,0 @@
 | 
			
		|||
;; extends
 | 
			
		||||
 | 
			
		||||
(attribute
 | 
			
		||||
    (attribute_name) @name (#eq? @name "class")
 | 
			
		||||
    (quoted_attribute_value) @comment
 | 
			
		||||
)
 | 
			
		||||
| 
						 | 
				
			
			@ -6,7 +6,9 @@ Configuration Home: https://github.com/esprssoo/dotfiles
 | 
			
		|||
--]]
 | 
			
		||||
 | 
			
		||||
vim.g.mapleader = " "
 | 
			
		||||
vim.g.netrw_banner = 0
 | 
			
		||||
-- vim.g.netrw_banner = 0
 | 
			
		||||
vim.g.loaded_netrw = 1
 | 
			
		||||
vim.g.loaded_netrwPlugin = 1
 | 
			
		||||
 | 
			
		||||
require "my.plugins"
 | 
			
		||||
require "my.options"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,15 +19,16 @@ end
 | 
			
		|||
require "paq" {
 | 
			
		||||
    "savq/paq-nvim",
 | 
			
		||||
    "nvim-lua/plenary.nvim",
 | 
			
		||||
    { "nvim-telescope/telescope.nvim", branch = "0.1.x" },
 | 
			
		||||
    { "catppuccin/nvim",               as = "catppuccin" },
 | 
			
		||||
    "lewis6991/gitsigns.nvim",
 | 
			
		||||
    "kyazdani42/nvim-web-devicons",
 | 
			
		||||
    "lukas-reineke/indent-blankline.nvim",
 | 
			
		||||
    "nvim-lualine/lualine.nvim",
 | 
			
		||||
    "windwp/nvim-autopairs",
 | 
			
		||||
    "mickael-menu/zk-nvim",
 | 
			
		||||
    "williamboman/mason.nvim",
 | 
			
		||||
    { "nvim-telescope/telescope.nvim", branch = "0.1.x" },
 | 
			
		||||
    { "catppuccin/nvim",               as = "catppuccin" },
 | 
			
		||||
    { "williamboman/mason.nvim",       branch = "v1.0.1" },
 | 
			
		||||
    "stevearc/oil.nvim",
 | 
			
		||||
 | 
			
		||||
    -- Treesitter
 | 
			
		||||
    { "nvim-treesitter/nvim-treesitter", run = vim.cmd.TSUpdate, branch = "v0.9.0" },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,7 +4,7 @@ return {
 | 
			
		|||
    font = wezterm.font 'JetBrainsMono Nerd Font Mono',
 | 
			
		||||
    -- freetype_load_target = 'Light',
 | 
			
		||||
    -- freetype_render_target = 'HorizontalLcd',
 | 
			
		||||
    color_scheme = 'Catppuccin Frappe',
 | 
			
		||||
    color_scheme = 'Catppuccin Mocha',
 | 
			
		||||
    window_background_opacity = 0.9,
 | 
			
		||||
    max_fps = 165,
 | 
			
		||||
    front_end = "WebGpu",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue