yank whole file
This commit is contained in:
parent
3b2f4c5ed4
commit
3a244429d5
5
init.lua
5
init.lua
@ -8,7 +8,6 @@ require('bufferline.lua')
|
||||
require('statusline.lua')
|
||||
require('telescope-nvim.lua')
|
||||
|
||||
|
||||
-- lsp
|
||||
require('nvim-lspconfig.lua')
|
||||
require('nvim-compe.lua')
|
||||
@ -27,10 +26,6 @@ cmd 'syntax enable'
|
||||
cmd 'syntax on'
|
||||
|
||||
g.auto_save = 1
|
||||
|
||||
g.indentLine_enabled = 1
|
||||
g.indentLine_char_list = {'▏'}
|
||||
|
||||
g.mapleader = ' '
|
||||
|
||||
require('treesitter.lua')
|
||||
|
@ -13,7 +13,6 @@ return require('packer').startup(function()
|
||||
use { 'nvim-treesitter/nvim-treesitter'}
|
||||
use { 'chriskempson/base16-vim'}
|
||||
use { 'norcalli/nvim-colorizer.lua'}
|
||||
use { 'Yggdroot/indentLine'}
|
||||
use { 'ryanoasis/vim-devicons'}
|
||||
use { 'sbdchd/neoformat'}
|
||||
use { 'neovim/nvim-lspconfig'}
|
||||
|
@ -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>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>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)
|
||||
|
@ -36,10 +36,6 @@ _G.packer_plugins = {
|
||||
loaded = true,
|
||||
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"] = {
|
||||
loaded = true,
|
||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/galaxyline.nvim"
|
||||
@ -52,6 +48,18 @@ _G.packer_plugins = {
|
||||
loaded = true,
|
||||
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"] = {
|
||||
loaded = true,
|
||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/nvim-bufferline.lua"
|
||||
@ -60,6 +68,10 @@ _G.packer_plugins = {
|
||||
loaded = true,
|
||||
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"] = {
|
||||
loaded = true,
|
||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/nvim-lspconfig"
|
||||
@ -85,14 +97,30 @@ _G.packer_plugins = {
|
||||
loaded = true,
|
||||
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"] = {
|
||||
loaded = true,
|
||||
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"] = {
|
||||
loaded = true,
|
||||
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"] = {
|
||||
loaded = true,
|
||||
path = "/home/sid/.local/share/nvim/site/pack/packer/start/vim-devicons"
|
||||
|
Loading…
Reference in New Issue
Block a user