LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-28-2010, 01:16 AM   #1
ChantCd
LQ Newbie
 
Registered: Sep 2010
Posts: 4

Rep: Reputation: 0
WANTED: Fedora's default BASHRC and VIMRC files


I'm using Ubuntu, but I really, really miss Fedora's terminal configuration. I use "vi" a lot when I'm editing config files, and Ubuntu's config file totally stinks.

I just need the text contained in .bashrc and .vimrc -- that way I can overwrite what I have now

Thanks,

Matthew
 
Old 09-28-2010, 02:52 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
Quote:
Originally Posted by ChantCd View Post
I'm using Ubuntu, but I really, really miss Fedora's terminal configuration. I use "vi" a lot when I'm editing config files, and Ubuntu's config file totally stinks.

I just need the text contained in .bashrc and .vimrc -- that way I can overwrite what I have now

Thanks,

Matthew
What settings of vi and bash you want? You can add settings manually in those files or you can copy those files from another machines (fedora)?

Regards,
 
Old 09-28-2010, 04:22 AM   #3
mardi
LQ Newbie
 
Registered: Sep 2010
Location: Indonesia
Distribution: RedHat
Posts: 16

Rep: Reputation: 3
Hi ChantCd,

I think you can copy it all from your skel directory

Here the code
Quote:
ls -lah /etc/skel
If there result is display all the file that you need (.vimrc and .bashrc) then copy it to your home directory, this code for copy the .bashrc
Quote:
cp /etc/skel/.bashr ~
Otherwise, if there are not .vimrc on your skel directory list, then copy this code to your .vimrc on your home direcotry

Quote:
" Turn on line numbering. Turn it off with "set nonu"
set nu

" Set syntax on
syntax on

" Indent automatically depending on filetype
filetype indent on
set autoindent

" Case insensitive search
set ic

" Higlhight search
set hls

" Wrap text instead of being on one line
set lbr

" Change colorscheme from default to delek
colorscheme delek
Wish this information can help your problem

Regards,
Mardi V. Tamma

Last edited by mardi; 09-28-2010 at 04:40 AM.
 
Old 09-28-2010, 12:17 PM   #4
ChantCd
LQ Newbie
 
Registered: Sep 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by sem007 View Post
What settings of vi and bash you want? You can add settings manually in those files or you can copy those files from another machines (fedora)?

Regards,
I want the color scheme, and especially the keyboard mapping configuration. When I use the arrow keys, delete key, home key, etc. it is very erratic in Ubuntu's default configuration of VIM. It puts a capital letter on a new blank line, etc. instead of moving the cursor to the right when I press the regular "right" arrow key.
In Fedora it works as expected.

So I'd like to just copy Fedora's configuration over -- there's nothing of Ubuntu's VIM/Bash config that I'd miss!

I don't have Fedora on any machines right now, though.

Thanks,

Matthew
 
Old 09-29-2010, 02:14 AM   #5
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
Quote:
Originally Posted by ChantCd View Post
I want the color scheme, and especially the keyboard mapping configuration. When I use the arrow keys, delete key, home key, etc. it is very erratic in Ubuntu's default configuration of VIM. It puts a capital letter on a new blank line, etc. instead of moving the cursor to the right when I press the regular "right" arrow key.
In Fedora it works as expected.

So I'd like to just copy Fedora's configuration over -- there's nothing of Ubuntu's VIM/Bash config that I'd miss!

I don't have Fedora on any machines right now, though.

Thanks,

Matthew
check vim package installed or not. by default there is vim-tiny package installed on ubuntu.

Code:
sudo dpkg --list vim* | grep ^i
ii  vim                                  1:7.1.314-3+lenny2         Vi IMproved - enhanced vi editor
ii  vim-common                           1:7.1.314-3+lenny2         Vi IMproved - Common files
ii  vim-runtime                          1:7.1.314-3+lenny2         Vi IMproved - Runtime files
ii  vim-tiny                             1:7.1.314-3+lenny2         Vi IMproved - enhanced vi editor - compact v
Install vim if not installed and you will get full vim featuchers.
Code:
sudo apt-get install vim
Regards,

Last edited by sem007; 09-29-2010 at 02:16 AM. Reason: add more info
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
hi i not getting my .vimrc file in this path ~/.vimrc dina3e Linux - Newbie 6 07-31-2012 04:36 PM
How to cusromize .bashrc and other files SeRGeiSarov Linux - Software 5 12-19-2009 06:52 AM
Default route deleted from the Fedora's routing table RedHatAddict Linux - Networking 11 09-28-2009 09:16 PM
LXer: Wanted: New Default K3b Theme for 1.0 LXer Syndicated Linux News 0 08-25-2006 02:03 PM
screen, vimrc and bashrc noir911 Linux - General 6 07-06-2006 11:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration