yank whole file

This commit is contained in:
siduck76 2021-03-12 22:38:20 +05:30
parent 3b2f4c5ed4
commit 3a244429d5
4 changed files with 34 additions and 11 deletions

View File

@ -8,7 +8,6 @@ require('bufferline.lua')
require('statusline.lua') require('statusline.lua')
require('telescope-nvim.lua') require('telescope-nvim.lua')
-- lsp -- lsp
require('nvim-lspconfig.lua') require('nvim-lspconfig.lua')
require('nvim-compe.lua') require('nvim-compe.lua')
@ -27,10 +26,6 @@ cmd 'syntax enable'
cmd 'syntax on' cmd 'syntax on'
g.auto_save = 1 g.auto_save = 1
g.indentLine_enabled = 1
g.indentLine_char_list = {''}
g.mapleader = ' ' g.mapleader = ' '
require('treesitter.lua') require('treesitter.lua')

View File

@ -13,7 +13,6 @@ return require('packer').startup(function()
use { 'nvim-treesitter/nvim-treesitter'} use { 'nvim-treesitter/nvim-treesitter'}
use { 'chriskempson/base16-vim'} use { 'chriskempson/base16-vim'}
use { 'norcalli/nvim-colorizer.lua'} use { 'norcalli/nvim-colorizer.lua'}
use { 'Yggdroot/indentLine'}
use { 'ryanoasis/vim-devicons'} use { 'ryanoasis/vim-devicons'}
use { 'sbdchd/neoformat'} use { 'sbdchd/neoformat'}
use { 'neovim/nvim-lspconfig'} use { 'neovim/nvim-lspconfig'}

View File

@ -68,4 +68,5 @@ vim.api.nvim_set_keymap('n', '<Leader>fp', [[<Cmd>lua require('telescope').exte
vim.api.nvim_set_keymap('n', '<Leader>fb', [[<Cmd>lua require('telescope.builtin').buffers()<CR>]], opt) vim.api.nvim_set_keymap('n', '<Leader>fb', [[<Cmd>lua require('telescope.builtin').buffers()<CR>]], opt)
vim.api.nvim_set_keymap('n', '<Leader>fh', [[<Cmd>lua require('telescope.builtin').help_tags()<CR>]], opt) vim.api.nvim_set_keymap('n', '<Leader>fh', [[<Cmd>lua require('telescope.builtin').help_tags()<CR>]], opt)
vim.api.nvim_set_keymap('n', '<Leader>fo', [[<Cmd>lua require('telescope.builtin').oldfiles()<CR>]], opt) vim.api.nvim_set_keymap('n', '<Leader>fo', [[<Cmd>lua require('telescope.builtin').oldfiles()<CR>]], opt)
vim.api.nvim_set_keymap('n', '<Leader>zz', [[<Cmd> Neoformat<CR>]] , opt) vim.api.nvim_set_keymap('n', '<Leader>fm', [[<Cmd> Neoformat<CR>]] , opt)
vim.api.nvim_set_keymap('n', '<C-a>', [[ <Cmd> %y+<CR>]] , opt)

View File

@ -36,10 +36,6 @@ _G.packer_plugins = {
loaded = true, loaded = true,
path = "/home/sid/.local/share/nvim/site/pack/packer/start/base16-vim" path = "/home/sid/.local/share/nvim/site/pack/packer/start/base16-vim"
}, },
["completion-nvim"] = {
loaded = true,
path = "/home/sid/.local/share/nvim/site/pack/packer/start/completion-nvim"
},
["galaxyline.nvim"] = { ["galaxyline.nvim"] = {
loaded = true, loaded = true,
path = "/home/sid/.local/share/nvim/site/pack/packer/start/galaxyline.nvim" path = "/home/sid/.local/share/nvim/site/pack/packer/start/galaxyline.nvim"
@ -52,6 +48,18 @@ _G.packer_plugins = {
loaded = true, loaded = true,
path = "/home/sid/.local/share/nvim/site/pack/packer/start/indentLine" path = "/home/sid/.local/share/nvim/site/pack/packer/start/indentLine"
}, },
["lspkind-nvim"] = {
loaded = true,
path = "/home/sid/.local/share/nvim/site/pack/packer/start/lspkind-nvim"
},
neoformat = {
loaded = true,
path = "/home/sid/.local/share/nvim/site/pack/packer/start/neoformat"
},
["nvim-autopairs"] = {
loaded = true,
path = "/home/sid/.local/share/nvim/site/pack/packer/start/nvim-autopairs"
},
["nvim-bufferline.lua"] = { ["nvim-bufferline.lua"] = {
loaded = true, loaded = true,
path = "/home/sid/.local/share/nvim/site/pack/packer/start/nvim-bufferline.lua" path = "/home/sid/.local/share/nvim/site/pack/packer/start/nvim-bufferline.lua"
@ -60,6 +68,10 @@ _G.packer_plugins = {
loaded = true, loaded = true,
path = "/home/sid/.local/share/nvim/site/pack/packer/start/nvim-colorizer.lua" path = "/home/sid/.local/share/nvim/site/pack/packer/start/nvim-colorizer.lua"
}, },
["nvim-compe"] = {
loaded = true,
path = "/home/sid/.local/share/nvim/site/pack/packer/start/nvim-compe"
},
["nvim-lspconfig"] = { ["nvim-lspconfig"] = {
loaded = true, loaded = true,
path = "/home/sid/.local/share/nvim/site/pack/packer/start/nvim-lspconfig" path = "/home/sid/.local/share/nvim/site/pack/packer/start/nvim-lspconfig"
@ -85,14 +97,30 @@ _G.packer_plugins = {
loaded = true, loaded = true,
path = "/home/sid/.local/share/nvim/site/pack/packer/start/plenary.nvim" path = "/home/sid/.local/share/nvim/site/pack/packer/start/plenary.nvim"
}, },
["popup.nvim"] = {
loaded = true,
path = "/home/sid/.local/share/nvim/site/pack/packer/start/popup.nvim"
},
["startuptime.vim"] = { ["startuptime.vim"] = {
loaded = true, loaded = true,
path = "/home/sid/.local/share/nvim/site/pack/packer/start/startuptime.vim" path = "/home/sid/.local/share/nvim/site/pack/packer/start/startuptime.vim"
}, },
["telescope-media-files.nvim"] = {
loaded = true,
path = "/home/sid/.local/share/nvim/site/pack/packer/start/telescope-media-files.nvim"
},
["telescope.nvim"] = {
loaded = true,
path = "/home/sid/.local/share/nvim/site/pack/packer/start/telescope.nvim"
},
["vim-auto-save"] = { ["vim-auto-save"] = {
loaded = true, loaded = true,
path = "/home/sid/.local/share/nvim/site/pack/packer/start/vim-auto-save" path = "/home/sid/.local/share/nvim/site/pack/packer/start/vim-auto-save"
}, },
["vim-closetag"] = {
loaded = true,
path = "/home/sid/.local/share/nvim/site/pack/packer/start/vim-closetag"
},
["vim-devicons"] = { ["vim-devicons"] = {
loaded = true, loaded = true,
path = "/home/sid/.local/share/nvim/site/pack/packer/start/vim-devicons" path = "/home/sid/.local/share/nvim/site/pack/packer/start/vim-devicons"