Update default configs

This commit is contained in:
2024-09-15 11:07:51 +02:00
parent b5ee11e126
commit 0d8cbde369
9 changed files with 65 additions and 159 deletions

22
_vimrc
View File

@@ -1,6 +1,7 @@
"
" PLUGINS IMPORT
""""""""""""""""""""""""""""""""""""""""""""""""""""""
set nocompatible " be iMproved, required
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
@@ -21,13 +22,14 @@ filetype plugin indent on
"
" GLOBALS
""""""""""""""""""""""""""""""""""""""""""""""""""""""
filetype plugin indent on
colorscheme elflord
syntax on
let mapleader=","
set t_Co=256
colorscheme elflord
set gfn=terminus
set go=
syntax on
set encoding=utf-8
set hidden
set showcmd
@@ -51,7 +53,6 @@ set list
set listchars=tab:>.,trail:.,extends:#,nbsp:.
set ttyfast
set mouse=
set nocompatible
"set backup
"set backupdir=~/.vim_backup
"set noswapfile
@@ -60,7 +61,6 @@ set laststatus=2
"set expandtab
set softtabstop=8 tabstop=8 shiftwidth=4
set ruler
set nocompatible
"
" KEYBINDINGS
@@ -84,16 +84,10 @@ let g:CommandTMaxHeight = 12
"
" SPECIFIC CONFIGURATION
""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Insert date.
iab xdate <c-r>=strftime("%Y/%m/%d %H:%M:%S")<cr>
" What's my name?
iab xname Lionel Sambuc
autocmd BufNewFile,BufRead *.md set filetype=markdown
" Acronyme
iab xac (LSU)
" Default printk
iab xpk printk("(LSU) %s:%i:%s ## %s\n", __FILE__, __LINE__, __func__, "msg");
" Case sensitive search and replace by default
set noic
" Enable folding by indentation
" Use: zc, zo, zC, zO, zR, zM