Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dotfiles
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maxime Veber
dotfiles
Commits
3f49b5de
Commit
3f49b5de
authored
11 years ago
by
Maxime Veber
Browse files
Options
Downloads
Patches
Plain Diff
Removed nerdtree & add new plugins and configuration
parent
dc2baa43
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.bashrc
+1
-1
1 addition, 1 deletion
.bashrc
.vim/bundle/nerdtree
+0
-1
0 additions, 1 deletion
.vim/bundle/nerdtree
.vimrc
+50
-8
50 additions, 8 deletions
.vimrc
with
51 additions
and
10 deletions
.bashrc
+
1
−
1
View file @
3f49b5de
...
...
@@ -55,6 +55,6 @@ alias sf='php app/console --ansi'
#[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \
# . /usr/share/bash-completion/bash_completion
export
TERM
=
xterm
-256color
export
TERM
=
screen
-256color
export
PATH
=
"
$PATH
:
$HOME
/.composer/vendor/bin"
export
PATH
=
"
$PATH
:
$HOME
/.gem/ruby/2.1.0/bin"
This diff is collapsed.
Click to expand it.
nerdtree
@
b0bb781f
Subproject commit b0bb781fc73ef40365e4c996a16f04368d64fc9d
This diff is collapsed.
Click to expand it.
.vimrc
+
50
−
8
View file @
3f49b5de
...
...
@@ -13,14 +13,22 @@ Plugin 'gmarik/Vundle.vim'
Plugin
'sjbach/lusty.git'
Plugin
'kien/ctrlp.vim.git'
Plugin
'arnaud-lb/vim-php-namespace.git'
Plugin
'danro/rename.vim.git'
Plugin
'Lokaltog/vim-powerline.git'
Plugin
'tpope/vim-fugitive.git'
" Here should be other plugins
" Bundle 'joonty/vim-phpqa.git'
Bundle
'tobyS/pdv'
Bundle
'danro/rename.vim'
" All of your Plugins must be added before the following line
call
vundle#end
()
" required
filetype
plugin
indent
on
" required
filetype
on
filetype
plugin
on
filetype
indent
on
" required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
...
...
@@ -46,10 +54,9 @@ set number
set
tabstop
=
4
set
expandtab
set
smartindent
set
autoindent
"
set autoindent
set
shiftwidth
=
4
set
directory
=
/tmp/
filetype
plugin
indent
on
set
nobackup
" Don'
t
make
a
backup
before overwriting
a
file
.
set
nowritebackup
" And again
.
...
...
@@ -57,11 +64,12 @@ set nowritebackup " And again.
set
wildmenu
" Better completion
set
wildmode
=
list
:
longest " BASH style completion
set
wildignore
=.
svn
,
CVS
,.
git
,.
hg
,
*
.
o
,
*
.
a
,
*
.
class
,
*
.
mo
,
*
.
la
,
*
.
so
,
*
.
obj
,
*
.
swp
,
*
.
jpg
,
*
.
png
,
*
.
xpm
,
*
.
gif
,
*
.
pyc
,
*
.
pyo
,
*
.
log
,
**
/cache/
**
,
**
/logs/
**
,
**
/zend/
**
,
**
/vendor/
**
/vendor/
**
,
web
/css,web/
js
,
web
/bundles,*/
project
/*,*/
target/*
,
*
.
hi
set
incsearch
" Highlight matches
as
you
type
.
set
hlsearch
" Highlight matches
.
" Not sure theses 3 lines are usefull
set
clipboard
+=
unnamedplus
set
paste
set
go
+=
a
" Is cool in order to paste from the terminal, but drop the indentation
" could be use on a distant server
"set paste
set
hidden
set
showcmd
...
...
@@ -100,3 +108,37 @@ noremap <silent> <C-t> :CtrlPTag<cr>
inoremap
<
Leader
>
u
<
C
-
O
>:
call
PhpInsertUse
()<
CR
>
noremap
<
Leader
>
u
:
call
PhpInsertUse
()<
CR
>
" esay copy-paste clipboard
vmap
<
Leader
>
y
"
+
y
<
CR
>
nmap
<
leader
>
p
"
+
p
<
CR
>
" easy navigation between words
nmap
<
C
-
l
>
w
nmap
<
C
-
h
>
b
nmap
<
C
-
j
>
4
j
nmap
<
C
-
k
>
4
k
" Clear search highlight
nmap
<
silent
>
<
leader
>
/ :let @/
=
""
<
cr
>
" Powerline protip
let
g:Powerline_symbols
=
'fancy'
set
ls
=
2
" Always show status bar
" This function allow to toggle settings for line in files (from absolute to
" relative)
function
!
NumberToggle
()
if
(
&
relativenumber
==
1
)
"set number
set
norelativenumber
else
set
relativenumber
endif
endfunc
" Mapping of the last function on CTRL+N
nnoremap
<
C
-
n
>
:
call
NumberToggle
()<
cr
>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment