added some qol plugins
authorGeorgios Atheridis <atheridis@tutamail.com>
Sun, 5 Jun 2022 18:39:56 +0000 (21:39 +0300)
committerGeorgios Atheridis <atheridis@tutamail.com>
Sun, 5 Jun 2022 18:39:56 +0000 (21:39 +0300)
nvim/init.lua
nvim/lua/nvim/colorizer.lua [new file with mode: 0644]
nvim/lua/nvim/leap.lua [new file with mode: 0644]
nvim/lua/nvim/plugins.lua

index 2fd4ae4ca2c80e9927d2d80e5c47c624bb76a640..d15f094f4042ca247142c89333f95899fccbe4a5 100644 (file)
@@ -12,3 +12,5 @@ require("nvim.comment")
 require("nvim.nvim-tree")
 require("nvim.bufferline")
 require("nvim.null-ls")
+require("nvim.leap")
+require("nvim.colorizer")
diff --git a/nvim/lua/nvim/colorizer.lua b/nvim/lua/nvim/colorizer.lua
new file mode 100644 (file)
index 0000000..7ffe408
--- /dev/null
@@ -0,0 +1,14 @@
+require'colorizer'.setup()
+
+DEFAULT_OPTIONS = {
+       RGB      = true;         -- #RGB hex codes
+       RRGGBB   = true;         -- #RRGGBB hex codes
+       names    = true;         -- "Name" codes like Blue
+       RRGGBBAA = false;        -- #RRGGBBAA hex codes
+       rgb_fn   = false;        -- CSS rgb() and rgba() functions
+       hsl_fn   = false;        -- CSS hsl() and hsla() functions
+       css      = false;        -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB
+       css_fn   = false;        -- Enable all CSS *functions*: rgb_fn, hsl_fn
+       -- Available modes: foreground, background
+       mode     = 'background'; -- Set the display mode.
+}
diff --git a/nvim/lua/nvim/leap.lua b/nvim/lua/nvim/leap.lua
new file mode 100644 (file)
index 0000000..3b8ed32
--- /dev/null
@@ -0,0 +1 @@
+require("leap").set_default_keymaps()
index aefad8312671762955447ba3bab87105b1b89c81..e6cb1920abc8e9dfac54f3b9901f828093145857 100644 (file)
@@ -121,8 +121,22 @@ return packer.startup(function(use)
        use({ "akinsho/bufferline.nvim", requires = {
                "kyazdani42/nvim-web-devicons",
        } })
+
+       -- For quick movement between a file
+       use("ggandor/leap.nvim")
+
+       -- Shows hex colours
+       use("norcalli/nvim-colorizer.lua")
+
+       -- NON LUA PLUGINS
        use("moll/vim-bbye")
 
+       use("mitsuhiko/vim-jinja")
+       --
+       -- Surround
+       use("tpope/vim-surround")
+
+       use("unblevable/quick-scope")
        -- PLUGINS END --
 
        -- Automatically set up your configuration after cloning packer.nvim