SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 Re: Off Topic / General Chat » worst site you've tried to register with lately? » 2015-10-28 12:27:10

weird, I just registered there a minute before reading your post!
and registering there was SOOO easy and pain free.

#2 Off Topic / General Chat » worst site you've tried to register with lately? » 2015-10-28 11:12:56

Resident Bot
Replies: 2

Just tried registering at visudo.org, gave up after 12 attempts!

#3 Re: Tutorials » Firefox instead of Iceweasel on Debian Jessie » 2015-06-19 09:38:57

I followed that link Unia and it says on that page

"You need to be running Chrome on Windows (or Safari on Mac OS X) to make and receive voice and video calls through your browser. This is because the WebRTC plugin it requires is not (currently) available outside of these platforms."

Is it true I wonder?

#4 Re: Tips, Tricks & Scripts » Post your .vimrc » 2015-06-15 18:08:03

nothing really apart from the fact that I had ranger installed and thought I would try it but I usually use neither.

#5 Re: Tips, Tricks & Scripts » Post your .vimrc » 2015-06-15 13:12:59

Well here's mine if you can make sense of it, I source a keymapping and plugins setting file.

set nocompatible "Must be the first line - Use vim defaults not vi compatible
set shortmess+=I  "disable the welcome screen
set guioptions-=T  "remove toolbar
set guioptions+=a

" Use pathogen to manage plugins
call pathogen#infect()
" line below added recently but it seemed to work fine without it.
call pathogen#helptags()
"---------------
source $HOME/.vim/keymappings.vim
source $HOME/.vim/plugin-settings.vim
"---------------------------
"so that you can add folds to your vimrc to make it tidy (use za to toggle fold)
" Vimscript file settings ---------------------- {{{
augroup filetype_vim
    autocmd!
    autocmd FileType vim setlocal foldmethod=marker
augroup END
" }}}
" line below for use with mutt
autocmd BufNewFile,BufRead /tmp/mutt-* set filetype=mail
" or try au BufRead mutt-*        set ft=mail
" When encrypting any file, use the much stronger blowfish algorithm
set cryptmethod=blowfish
"For CSapprox plugin to give you better color in terminals
" use 256 colors in Console mode if we think the terminal supports it 
if &term =~? 'urxvt\|xterm'
       set t_Co=256
endif

"--------------------
" Time out on key codes but not mappings.
" Basically this makes terminal Vim work sanely.
set notimeout
set ttimeout
set ttimeoutlen=10
set showmode       " If in Insert, Replace or Visual mode put a message on the last line

" Add ranger as a file chooser in vim Compatible with ranger 1.4.2 through 1.6.
"
" If you add this function and the key binding to the .vimrc, ranger can be
" started using the keybinding ",r".  Once you select a file by pressing
" enter, ranger will quit again and vim will open the selected file.
fun! RangerChooser()
    exec "silent !ranger-dk --choosefile=/tmp/chosenfile " . expand("%:p:h")
    if filereadable('/tmp/chosenfile')
        exec 'edit ' . system('cat /tmp/chosenfile')
        call system('rm /tmp/chosenfile')
    endif
    redraw!
endfun
"The keybinding is in my keymappings file-it's ,r
"-----------------
function! HTMLT()
    " path to the template file below
    r~/.vim/templates/skeletonhtml.txt
endfunction
"keybinding in separate file is ,n
"---------
"below needed for lusty explorer to work
"show a buffers menu
set showcmd    " Show incomplete normal mode commands as I type.
set hidden
"----------------

"Type \c to toggle highlighting of line and column you are on.
"The line below sets up custom colors but can just use default ones.
hi CursorColumn cterm=NONE ctermbg=darkred ctermfg=white guibg=darkred guifg=white
set cursorline
hi cursorline cterm=none term=none
autocmd WinEnter * setlocal cursorline
autocmd WinLeave * setlocal nocursorline
highlight CursorLine guibg=#303000 ctermbg=234

"turn blinking off for normal and visual mode
set guicursor+=n-v-c:blinkon0
highlight Cursor guifg=#ffffff guibg=#d86020
highlight iCursor guifg=#ffffff guibg=#AAFF00

"below to set an end of line character
set listchars=tab:▸\ ,eol:¬
set showbreak=↪

"highlight line when over 80 characters
highlight OverLength ctermbg=red ctermfg=white guibg=#592929
match OverLength /\%81v.\+/
"for Supertab
"autocmd FileType html let g:SuperTabDefaultCompletionType = "<c-x><c-o>"
" Read word documents-have installed antiword 
autocmd BufReadPre *.doc set ro
autocmd BufReadPre *.doc set hlsearch!
autocmd BufReadPost *.doc %!antiword "%"
"the 2 lines below are for vimwiki plugin to work properly
filetype plugin on
syntax on
"below 4 lines to show sytax highlighting for markdown files with either .mkd or .md extension
augroup mkd
autocmd BufRead *.mkd  set ai formatoptions=tcroqn2 comments=n:>
augroup END
au BufRead,BufNewFile *.md set filetype=markdown
" backup settings ====================================
set backup                  " keep a backup file
set backupdir=~/.vim/backup " backup dir
set noswapfile
"""""""""" VIMRC """""""""""""""""
au! BufWritePost .vimrc source %   " Reload vimrc when we edit it in vim and save it
"""""""""""""""""""""""""""""""""""
"below is to mark end of word with $ to let you know you are in cw (change word mode)
set cpoptions+=$  "
" Make backspace work as usual.
set backspace=indent,eol,start "
set history=40    "40 lines of command history
set cmdheight=2   "set the command height
set wildmenu
set wildmode=list:longest " wildmode works great this way
set sc       "Show commands as you type them
"    Parentheses completion"--¬
inoremap (       ()<Left>
inoremap <expr>  ) strpart(getline('.'), col('.')-1, 1) == ")" ? "\<Right>" : ")"
inoremap [       []<Left>

"======================================================
"    Python "--¬
augroup ft_python
    au!
    au FileType python setlocal foldmethod=indent
augroup END
"=======================================================
"Colorscheme-settings -------- {{{
"colorscheme DK-scheme - used to have it in separate file
"trying out new scheme below
colorscheme cobalt

set background=dark  " Use colors that are easier for dark backgrounds
:highlight Normal guibg=#363131 guifg=White
hi StatusLine      gui=none       guibg=#FFCC66  guifg=#000000
hi StatusLineNC    gui=none       guibg=#444444  guifg=#000000
""" Cursor """""""""
"hi Cursor       gui=NONE guifg=#ffffff guibg=#d86020
"hi lCursor      gui=NONE guifg=#ffffff guibg=#e000b0
"hi CursorIM     gui=NONE guifg=#ffffff guibg=#AAFF00
"hi iCursor      gui=NONE guifg=#ffffff guibg=#AAFF00
" highlight the status bar when in insert mode so that will have a better visual clue when using vim in terminal
au InsertEnter * hi StatusLine ctermfg=240 ctermbg=12
au InsertLeave * hi StatusLine ctermbg=235 ctermfg=2

""""""""""""""""""
"For popups like the background color of FuzzyFinder
hi PMenu guifg=#dddddd guibg=#423d35 guisp=#423d35 gui=NONE ctermfg=253 ctermbg=238 cterm=NONE
hi PMenuSbar guifg=NONE guibg=#848688 guisp=#848688 gui=NONE ctermfg=NONE ctermbg=102 cterm=NONE
hi PMenuSel guifg=#ffd700 guibg=#706070 guisp=#706070 gui=bold ctermfg=220 ctermbg=242 cterm=bold
hi PMenuThumb guifg=NONE guibg=#a4a5a8 guisp=#a4a5a8 gui=NONE ctermfg=NONE ctermbg=248 cterm=NONE
""""""""""""""""""
"line numbering
hi LineNr ctermfg=grey ctermbg=black guifg=#B0AEAE guibg=black 
"Set relative number on starup but can toggle it with below keybinding
set relativenumber

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:au InsertEnter * hi Normal term=NONE    ctermbg=black     guifg=white"
:au InsertLeave * hi Normal term=NONE    ctermbg=black    guifg=white" 
" End of colour settings ------------------ }}}

"""""""""""""""""""""""""""""""""========================
" some new ones
"open the url on the current line must be full addres with http: at the front
" Evoke a web browser
function! Browser ()
  let line0 = getline (".")
  let line = matchstr (line0, "http[^ ]*")
  :if line==""
  let line = matchstr (line0, "ftp[^ ]*")
  :endif
  :if line==""
  let line = matchstr (line0, "file[^ ]*")
  :endif
  let line = escape (line, "#?&;|%")
  " echo line
  exec ":silent !firefox ".line
endfunction
map <Leader>url :call Browser ()<CR>
set clipboard=unnamedplus  " use the clipboards of vim and win
" Save when losing focus
au FocusLost * :silent! wall
""""""""""""""""""""""""""""""""""""""""""""
"put this in your vimrc
function! Chomp(str)
  return substitute(a:str, '\n$', '', '')
endfunction

function! DmenuOpen(cmd)
  let fname = Chomp(system("ls | dmenu -i -l 20 -p " . a:cmd))
  if empty(fname)
    return
  endif
  execute a:cmd . " " . fname
endfunction

" use \ddt to open file in a new tab
" use \dde to open file in current buffer
map <leader>ddt :call DmenuOpen("tabe")<cr>
map <leader>dde :call DmenuOpen("e")<cr>
"""""""""""""""""""""""""""""""""""""""""""
"CURSOR COLOUR When in terminal
" change the color of the cursor to white in command mode,and orange in insert mode
if &term =~ "xterm\\|rxvt"
  :silent !echo -ne "\033]12;white\007"
  let &t_SI = "\033]12;orange\007"
  let &t_EI = "\033]12;white\007"
  autocmd VimLeave * :!echo -ne "\033]12;white\007"
endif 

"CURSOR SHAPE
"	set guicursor=n-v-c:block-Cursor/lCursor,ve:ver35-Cursor,o:hor50-Cursor "
"	set guicursor+=i-ci:ver25-Cursor/lCursor,r-cr:hor20-Cursor/lCursor "
"	set guicursor+=sm:block-Cursor,a:blinkwait750-blinkoff750-blinkon750 "
"""""""""""""""""""""""""""""
" wrap like other editors
set wrap                " word wrap
set textwidth=0         " 
set lbr                 " line break
set display=lastline    " don't display @ with long paragraphs
set number"
set numberwidth=3"

""""" statusline  """""""""""""""""""""""""""""
if has('statusline')
set laststatus=2"
" Format the status line
"statusline: filepath, filetype, mod, rw, help, preview,   
set statusline=%f\ %y\ %m%r%h%w
"statusline: separation between left and right aligned items
set statusline+=%=
endif
"Another one to try out
"	if has('statusline')
"        set laststatus=2
"
" Broken down into easily includeable segments
"        set statusline=%<%f\ " Filename
"        set statusline+=%w%h%m%r " Options
"        set statusline+=%{fugitive#statusline()} " Git Hotness
"        set statusline+=\ [%{&ff}/%Y] " Filetype
"        set statusline+=\ [%{getcwd()}] " Current dir
"        set statusline+=%=%-14.(%l,%c%V%)\ %p%% " Right aligned file nav info
"    endif
" ---------------------------
"So that the File, Open dialog defaults to the current file's directory. 
set browsedir=buffer
" text2tags syntax 
au BufNewFile,BufRead *.t2t set ft=txt2tags

#6 Re: Off Topic / General Chat » Which TV series do you watch/like/don't like.... » 2015-05-30 18:36:21

some recent likes:
Dont normally go for vampire stuff but "True blood" had so much humour I was hooked.
Deadwood, a western, again loads of humour and great lines.
recent hates:
I tried to give "Dead like me" a chance but it just got lamer and lamer.

#8 Re: Off Topic / General Chat » There are two types of Google user in the world... » 2015-04-15 09:56:38

I am better with faces, now that I see him I do sort of recognize him but can't quite remember from what - will have to check one of the links to see - I seem to think he is something to do with emacs?

Oh I see he is more than just an emacs guy, shame on me for not knowing, thankfully it was easy to use google  :8

#10 Re: Off Topic / General Chat » illegally watched content - how do you know? » 2015-04-13 11:27:53

@ H.O.S  yes plausible deniability...but who decideds what is plausible.
I guess if you started watching a just released movie then you have little defence, unless of course you are not clued up on movies and had no idea it was just released.
I just heard a news item on Dutch Tv about how the authorites in Germany seem to be taking it seriously and sending out quite a lot of fines. I don't know how they go about proving guilt though.
@schwim, no I have had no warnings in any from yet but lately just to be safer I have started using a paid for VPN

#11 Re: Off Topic / General Chat » illegally watched content - how do you know? » 2015-04-12 19:09:42

Sorry for being confusing, I  am not the clearest person.
When I mentioned tv channels I was meaning in relation to using XBMC there are so many tv channels available from many contries - if you watched a tv series or a film on one of these channels how do you know if it is leagal or not. Anyway I have recently started using a paid for VPN so why should I care smile

#12 Off Topic / General Chat » illegally watched content - how do you know? » 2015-04-11 08:46:54

Resident Bot
Replies: 14

In some countries they are really trying to crack down on illegally watched films and tv shows. The German authorites are sending out hefty fines to people.
I was wondering abt this as I recently bought an android box (minix neo) and it came with a set of programs installed, one of which was XBMC.
How do you even know when you watch a tv channel or whatever on xbmc if it is legal or not. Also are you responsible if you bought a box with the program already installed?!
It's getting a bit messy I think and I expect the lawyers are going to have a good time with it.

#13 Re: Off Topic / General Chat » My new fav. web-browser (qutebrowser) » 2015-03-27 13:15:06

I am very new to it but it seemed easier to set up and customize than others I tried. It is very young though.
When on youtube it plays back the videos fine but if  i want to open a video with mpv I set up a keybinging so that I press y (after copying the url into clipboard)
I just typed this to set it up

:bind y spawn mpv {url}

#14 Off Topic / General Chat » My new fav. web-browser (qutebrowser) » 2015-03-27 10:50:39

Resident Bot
Replies: 10

qutebrowser thread

simple, easy to configure, reminds me of dwb, under active development.
did a google search for cat pics and was surprised who fast it was at loading them compared to firefox.
default keybindings cheat-sheet jpg

#15 Re: Tips, Tricks & Scripts » The dwb browser thread » 2015-03-21 21:26:53

this guy seems to want to continue to develop it.
https://bbs.archlinux.org/viewtopic.php?id=190716
Though I use luakit, if I am not using Firefox -I use firefox just because of one plugin called Lastpass
found nothing as convenient on the smaller browsers
I am trying out qutebrowser at the moment, I am impressed who quickly it loads lots of photos when i did a search for "cats" compared to the speed of Firefox.
qutebrowser

#16 Re: Off Topic / General Chat » wine, or rather don't - about programmes that surprisingly ran » 2015-03-08 11:16:12

I'm just facinated by

There's a rather infamous "adult" Monopoly-style PC board game

How on earth have I never heard of it!

#17 Off Topic / General Chat » wine, or rather don't - about programmes that surprisingly ran » 2015-03-07 19:38:38

Resident Bot
Replies: 5

I was not surprised that Photoshop ran under wine as I had come across it on youtube.
I was amazed the other day when I tried After Effects - at first I tried an ancient version I had 6.5 and it worked fine - I did some edits and rendered out the footage. Then I thought although there was little chance I would try a more modern version and the latest I have is CS3 and it works!!! In fact it seems more stable from me than it used to run on XP.
Any one had any surprises with running apps under wine?
I havent' tried many as I am happy with linux software but I did miss Photoshop especially.
I also find Kdenlive limited so I use SonyVegas and now After Effects under wine.

#19 Re: Off Topic / General Chat » Quit smoking » 2014-12-11 18:29:10

I wish a program existed whereby you could type in when you quit and how much you smoked per day and it would tell you how much money you have saved!  It would have to take in which country you are in and the price rise over the years, so too complicated.

#20 Re: Off Topic / General Chat » Quit smoking » 2014-12-01 20:09:49

wishing you sucess!  I quit a long time ago after 3 attempts.  The thing is even if you have a weak moment and smoke one dont let that make you think you've failed, see it as just what it was a weak moment and you can continue and do better. I am also always amazed at so called friends that know you are trying to quit yet offer you cigarettes!! Let them know you don't appreciate their "help"!! Also stay away from the dangerous situations like bars becuase yes after a drink it's hard not to have a smoke.

#21 Re: Off Topic / General Chat » Tried out any text editors recently? » 2014-11-23 08:48:32

@Alad, yes I know Emacs is great, I used it before going to vim but it's an editor you have to leave open all the time (slow starting up) and I tend not to work like that.
@Unia, thanks, I think! now I am going to have to try Zed!
zed
Video on the page above. Impressed so far - looks a bit like Atom but much lighter and easy to install, in fact no install I just unpacked and ran from the folder, the file named zed.

#22 Re: Off Topic / General Chat » Tried out any text editors recently? » 2014-11-22 19:00:55

hmm, just trying out sublime but sometimes the cpu goes close to 100%, vim is much lighter. Also I should have known there would be several packages to supply mulitiple cursor editing for vim.
I am trying out
vim-mulitple-cursors like sublimes

#23 Re: Off Topic / General Chat » Tried out any text editors recently? » 2014-11-22 16:05:31

Lol, thanks for the humor,
Vim and gvim is what I tend to use, just trying out other stuff.  Having multiple cursors is fun you know!

#24 Off Topic / General Chat » Tried out any text editors recently? » 2014-11-21 19:20:52

Resident Bot
Replies: 20

ooops, this should have gone into OffTopic-General Chat, That's where I thought I had posted!

I recently (like yesterday) took another look at Sublime. I had used it years ago but I really was impressed with it (ver3). Loved the multiple cursors. It does have a nag screen that crops up now and then but other than that it's free.
However I have just stumbled across Atom today which is free and looks and feels like sublime but with integrated git.  There is also Brackets but what puts me off that is Adobe is involved with it and I think they tend to bloat out their apps like Dreamweaver etc.
came across this comparison of the 3
comparison
Seems the others have some maturing to do to catch Sublime

-- Mod Edit ---
Too easy ... moved.

#25 Re: Off Topic / General Chat » new pc buisness » 2014-11-16 16:17:06

@ Tinfoil Hat
You need to get a new family - what a bunch of scrooges  lol
I would have the opposite problem with my family.

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo