Changed some file permissions

Changed another permission
Changed some file permissions
master
Jef Roosens 2020-08-20 14:42:18 +02:00
parent cfc2d2784f
commit 7f776d0fd2
2 changed files with 23 additions and 10 deletions

View File

@ -1,8 +1,17 @@
" Change leader key to space
" Map leader to space
" The leader key is the main modifier used for keybindings.
" You can use it inside keybindings by using <leader>
" I use space as my leader key
let g:mapleader = ' '
" Map local leader to tab
" Local leader is the same principle as leader, but it's used
" for keybindings that are local to the current buffer, to
" avoid confusion
" I use tab as my local leader
let g:maplocalleader = "\<tab>"
" Source plugins
" This sources all the files inside the init directory
" The directory must be in your runtimepath; my init directory
" is inside my ~/.config/nvim directory, this one is always in
" runtimepath
" Without the !, runtime only sources the first file in the list,
" instead of all
runtime! init/*.vim

View File

@ -1,26 +1,30 @@
" Colorscheme
" Tell Neovim to use 256 colors
" This forces (Neo)Vim to assume the terminal supports 256 colors.
" Without this, some colorschemes (including mine) don't work properly.
set termguicolors
" Set colorscheme
colorscheme flattened_dark
" Line numbers
" Show absolute line number on current line
" I use the combination of absolute and relative line numbers. On the
" current line, it shows the absolute; on all the others, the relative.
" This shows the absolute line number
set number
" Show relative line number on all other lines
" This shows the relative line numbers
set relativenumber
" Splits
" I prefer the logic of 'open your main window first, and all other
" afterwards'.
" Make horizontal splits appear below active window
set splitbelow
" Same for vertical splits, but to the right of active window
set splitright
" Indentation
" Replace tabs with spaces
" This makes Vim use spaces instead of tabs for indentation
set expandtab
" Width of a tab; with expandtab on, this sets by how many spaces it should be
" replaced
" This sets each indent to be 4 characters wide (4 spaces with expandtab on)
set tabstop=4
" Number of spaces that should be used for auto indentation
set shiftwidth=4