Compare commits
No commits in common. "9c83b4f6ca2223df457c69f725b957bef5ed9282" and "c81375285a5117e58490bb3bc295a225a519ed0d" have entirely different histories.
9c83b4f6ca
...
c81375285a
|
@ -78,20 +78,6 @@ vim.api.nvim_create_autocmd('FileType', {
|
||||||
command = 'setlocal tabstop=3|setlocal shiftwidth=3|setlocal softtabstop=3|setlocal tw=72'
|
command = 'setlocal tabstop=3|setlocal shiftwidth=3|setlocal softtabstop=3|setlocal tw=72'
|
||||||
})
|
})
|
||||||
|
|
||||||
local json_augroup = vim.api.nvim_create_augroup('filetype_json', {clear = true})
|
|
||||||
vim.api.nvim_create_autocmd('FileType', {
|
|
||||||
pattern = 'json',
|
|
||||||
group = json_augroup,
|
|
||||||
command = 'setlocal tabstop=2|setlocal shiftwidth=2|setlocal softtabstop=2'
|
|
||||||
})
|
|
||||||
|
|
||||||
local asciidoc_augroup = vim.api.nvim_create_augroup('filetype_asciidoc', {clear = true})
|
|
||||||
vim.api.nvim_create_autocmd('FileType', {
|
|
||||||
pattern = 'asciidoc',
|
|
||||||
group = asciidoc_augroup,
|
|
||||||
command = 'setlocal tabstop=2|setlocal shiftwidth=2|setlocal softtabstop=2|setlocal tw=72|setlocal spell|setlocal spelllang=nl'
|
|
||||||
})
|
|
||||||
|
|
||||||
-- ----------------------------------
|
-- ----------------------------------
|
||||||
-- Plugins
|
-- Plugins
|
||||||
-- ----------------------------------
|
-- ----------------------------------
|
||||||
|
@ -100,8 +86,6 @@ local Plug = vim.fn["plug#"]
|
||||||
|
|
||||||
vim.call("plug#begin", "~/.config/nvim/plugged")
|
vim.call("plug#begin", "~/.config/nvim/plugged")
|
||||||
|
|
||||||
Plug('nvim-lua/plenary.nvim') -- Requirement for telescope.
|
|
||||||
Plug('nvim-telescope/telescope.nvim', {tag = '0.1.5' })
|
|
||||||
Plug('numToStr/Comment.nvim')
|
Plug('numToStr/Comment.nvim')
|
||||||
Plug('junegunn/fzf')
|
Plug('junegunn/fzf')
|
||||||
Plug('arcticicestudio/nord-vim')
|
Plug('arcticicestudio/nord-vim')
|
||||||
|
@ -127,14 +111,6 @@ require("Comment").setup()
|
||||||
-- ------------------
|
-- ------------------
|
||||||
vim.cmd("nnoremap <C-p> :FZF<CR>")
|
vim.cmd("nnoremap <C-p> :FZF<CR>")
|
||||||
|
|
||||||
-- Telescope
|
|
||||||
-- ------------------
|
|
||||||
local builtin = require('telescope.builtin')
|
|
||||||
vim.keymap.set('n', '<leader>ff', builtin.find_files, {})
|
|
||||||
vim.keymap.set('n', '<leader>fg', builtin.live_grep, {})
|
|
||||||
vim.keymap.set('n', '<leader>fb', builtin.buffers, {})
|
|
||||||
vim.keymap.set('n', '<leader>fh', builtin.help_tags, {})
|
|
||||||
|
|
||||||
-- nnn
|
-- nnn
|
||||||
-- ------------------
|
-- ------------------
|
||||||
|
|
||||||
|
@ -150,4 +126,4 @@ vim.cmd("let g:nnn#session = 'global'")
|
||||||
-- indent-blankline
|
-- indent-blankline
|
||||||
-- ------------------
|
-- ------------------
|
||||||
|
|
||||||
require('ibl').setup()
|
require('indent_blankline').setup()
|
||||||
|
|
Loading…
Reference in New Issue