Skip to content

Commit

Permalink
Add Emacs and Vim config files
Browse files Browse the repository at this point in the history
Emacs needs one per project, Vim needs one per directory. Instructions
for configuring Vim to use the file are listed at the top of the .vimrc
files.
  • Loading branch information
we7u committed Apr 30, 2019
1 parent 4e0ff83 commit 60156fc
Show file tree
Hide file tree
Showing 5 changed files with 152 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .dir-locals.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
((nil . ((indent-tabs-mode . t)
(c-basic-offset . 4)
(tab-width . 4))
))
37 changes: 37 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
"
" Per-project .vimrc file: Configures Vim per Xastir project standards.
"
" Add these two files to the end of your ~/.vimrc file:
"
" set exrc
" set secure
"


" Set compatibility to Vim only
set nocompatible

" Turn on syntax highlighting
syntax on

" Tab equals 4 columns
set tabstop=4
set softtabstop=4

" Insert spaces instead of tab characters
set expandtab

" Control how many columns text is indented with the reindent
" operations (<< and >>) and automatic C-style indentation.
set shiftwidth=4

" When off, a <Tab> always inserts blanks according to 'tabstop' or
" 'softtabstop'. 'shiftwidth' is only used for shifting text left or
" right |shift-left-right|.
set nosmarttab

" Display different types of white spaces.
"set list
"set listchars=tab:#\ ,trail:#,extends:#,nbsp:.


37 changes: 37 additions & 0 deletions callpass/.vimrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
"
" Per-project .vimrc file: Configures Vim per Xastir project standards.
"
" Add these two files to the end of your ~/.vimrc file:
"
" set exrc
" set secure
"


" Set compatibility to Vim only
set nocompatible

" Turn on syntax highlighting
syntax on

" Tab equals 4 columns
set tabstop=4
set softtabstop=4

" Insert spaces instead of tab characters
set expandtab

" Control how many columns text is indented with the reindent
" operations (<< and >>) and automatic C-style indentation.
set shiftwidth=4

" When off, a <Tab> always inserts blanks according to 'tabstop' or
" 'softtabstop'. 'shiftwidth' is only used for shifting text left or
" right |shift-left-right|.
set nosmarttab

" Display different types of white spaces.
"set list
"set listchars=tab:#\ ,trail:#,extends:#,nbsp:.


37 changes: 37 additions & 0 deletions config/.vimrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
"
" Per-project .vimrc file: Configures Vim per Xastir project standards.
"
" Add these two files to the end of your ~/.vimrc file:
"
" set exrc
" set secure
"


" Set compatibility to Vim only
set nocompatible

" Turn on syntax highlighting
syntax on

" Tab equals 4 columns
set tabstop=4
set softtabstop=4

" Insert spaces instead of tab characters
set expandtab

" Control how many columns text is indented with the reindent
" operations (<< and >>) and automatic C-style indentation.
set shiftwidth=4

" When off, a <Tab> always inserts blanks according to 'tabstop' or
" 'softtabstop'. 'shiftwidth' is only used for shifting text left or
" right |shift-left-right|.
set nosmarttab

" Display different types of white spaces.
"set list
"set listchars=tab:#\ ,trail:#,extends:#,nbsp:.


37 changes: 37 additions & 0 deletions resources/.vimrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
"
" Per-project .vimrc file: Configures Vim per Xastir project standards.
"
" Add these two files to the end of your ~/.vimrc file:
"
" set exrc
" set secure
"


" Set compatibility to Vim only
set nocompatible

" Turn on syntax highlighting
syntax on

" Tab equals 4 columns
set tabstop=4
set softtabstop=4

" Insert spaces instead of tab characters
set expandtab

" Control how many columns text is indented with the reindent
" operations (<< and >>) and automatic C-style indentation.
set shiftwidth=4

" When off, a <Tab> always inserts blanks according to 'tabstop' or
" 'softtabstop'. 'shiftwidth' is only used for shifting text left or
" right |shift-left-right|.
set nosmarttab

" Display different types of white spaces.
"set list
"set listchars=tab:#\ ,trail:#,extends:#,nbsp:.


0 comments on commit 60156fc

Please sign in to comment.